Nagyon jó![/quote]
Köszi :)
+ raktam bele pár dolgot.[/quote]
Örülök neki :thumbsup:
Én is elkezdtem frissítgetni a szervert + idõnként én is bõvítem..
És a változtatásokat mindig feltöltöm a témába(ebbe) ;D
if(dialogid == DIAMUSIC)
{
if(response)
{
switch(listitem)
{
case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");
case 1:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://drive-to-wealth.ru/wp-content/uploads/2011/05/papa_roach_-_...to_be_loved.mp3\");
case 2:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://cdn.cloudfiles.mosso.com/c71692/media/audio/200910/phpQxw0ZvSkillet-Monster.mp3\");
case 3:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dl.matesmedia.net/indipop%20and%20english%20mp3/WWE-The-Music-(2010)-A-New-Day/09---Born-To-Win-(Evan-Bourne).mp3\");
case 4:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://whatsprotocol.com/wp-content/uploads/2011/04/01-Play-The-Game.mp3\");
case 5:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
case 6:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
case 7:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
case 8:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
case 9:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
case 10:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
case 12:for(new i = 0; i < MAX_PLAYERS; i++)StopAudioStreamForPlayer(i);
}
}
}
if(dialogid == DIAMUSIC+1)
{
if(response)
{
switch(listitem)
{
case 0:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1\");
case 1:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/28yuo0stx332n2p/GenteLoca.mp3?dl=1\");
case 2:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1\");
case 3:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1\");
case 4:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/xmo5nrwc6uvx90e/PartyLMFAO.mp3?dl=1\");
case 5:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
case 6:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
case 7:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
case 8:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
case 9:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
case 10:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
case 11:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
case 12:StopAudioStreamForPlayer(playerid);
}
case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");//ezt a linket a sajátodra kicseréled(vagy amelyik zenét le akarod cserélni annak a linkjét a sajátodra cseréled)
if(strcmp(\"/zene\", cmd, true) == 0)
{
ShowPlayerDialog(playerid, DIAMUSIC, DIALOG_STYLE_LIST, \"{0094FF}Zenék\",\"{267F00}Oceana - Endless Summer\\n{267F00}Papa Roach - To Be Loved\\n{267F00}Skillet - Monster\\n{267F00}Jim Johnston - Born To Win\\n{267F00}Motorhead - The Game\\n{267F00}Sexy - LMFAO\\n{267F00}Titanum - DG\\n{267F00}Turn me on - DG\\n{267F00}Quiero Rayos de sol\\n{267F00}Vamos a la playa Oh oh oh\\n{267F00}Tarzan boy (80`s)\\n{267F00}Alphaville - Big Japan (80´s)\\n{267F00}Zene megállítása\",\"OK\",\"Kilépés\");
return 1;
}
Oceana - Endless Summer
Alphaville - Big Japan (80´s)\\n{267F00}Zene megállítása\",\"OK\",\"Kilépés\");
if(dialogid == DIAMUSIC)
{
if(response)
{
switch(listitem)
{
case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");
case 1:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://drive-to-wealth.ru/wp-content/uploads/2011/05/papa_roach_-_...to_be_loved.mp3\");
case 2:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://cdn.cloudfiles.mosso.com/c71692/media/audio/200910/phpQxw0ZvSkillet-Monster.mp3\");
case 3:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dl.matesmedia.net/indipop%20and%20english%20mp3/WWE-The-Music-(2010)-A-New-Day/09---Born-To-Win-(Evan-Bourne).mp3\");
case 4:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://whatsprotocol.com/wp-content/uploads/2011/04/01-Play-The-Game.mp3\");
case 5:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
case 6:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
case 7:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
case 8:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
case 9:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
case 10:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
case 12:for(new i = 0; i < MAX_PLAYERS; i++)StopAudioStreamForPlayer(i);
}
}
}
if(dialogid == DIAMUSIC+1)
{
if(response)
{
switch(listitem)
{
//ezelõtt nem írtam de az alábbi linkekkel ne is törõdj. A Fenti linkekkel kell törõdni
case 0:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1\");
case 1:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/28yuo0stx332n2p/GenteLoca.mp3?dl=1\");
case 2:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1\");
case 3:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1\");
case 4:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/xmo5nrwc6uvx90e/PartyLMFAO.mp3?dl=1\");
case 5:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
case 6:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
case 7:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
case 8:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
case 9:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
case 10:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
case 11:PlayAudioStreamForPlayer(playerid,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
case 12:StopAudioStreamForPlayer(playerid);
case 0:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dhirls.net/DhiRLS/Mp3/Oceana%20-%20Endless%20Summer%20(Official%20Video%20UEFA%20EURO%202012)%20(DhiRLS.net).mp3\");
case 1:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://drive-to-wealth.ru/wp-content/uploads/2011/05/papa_roach_-_...to_be_loved.mp3\");
case 2:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://cdn.cloudfiles.mosso.com/c71692/media/audio/200910/phpQxw0ZvSkillet-Monster.mp3\");
case 3:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://dl.matesmedia.net/indipop%20and%20english%20mp3/WWE-The-Music-(2010)-A-New-Day/09---Born-To-Win-(Evan-Bourne).mp3\");
case 4:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"http://whatsprotocol.com/wp-content/uploads/2011/04/01-Play-The-Game.mp3\");
case 5:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/pgjx0r47wma4yvd/SexyLMFAO.mp3?dl=1\");
case 6:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/egrf8i00si53ee8/TitanumDG.mp3?dl=1\");
case 7:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/e38wb8agj6heju1/TurnMeOnDG.mp3?dl=1\");
case 8:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/eopqegiekf5p09a/Rayos.mp3?dl=1\");
case 9:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/g90lhm7vd04813s/Playa.mp3?dl=1\");
case 10:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/j9cboaxcd6clx85/Tarzan.mp3?dl=1\");
case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"https://dl.dropbox.com/s/4t4zq7ni0qk9bfp/Japan.mp3?dl=1\");
//itt nyomsz 1 enter-t
case 11:for(new i = 0; i < MAX_PLAYERS; i++)PlayAudioStreamForPlayer(i,\"//ide bemásolod a zenédnek a linkjét\");
Tetszik nagyon, és az lenne a kérdésem mivel nagyon kezdõ vagyok scriptes dologban,hogy az admin script ami benne van van valamilyen parancsa,
PL: admin adás,morderátor adása, vagy csak szimplán kick,ban RCON-ból?
[/quote]
Sajnos nem tudtam belerakni semilyen admin szkriptet.. /ban és /kick van mint adminparancs...
Ha több funkciót akarsz(pl. játékos lefagyasztása) akkor
1. jelentkezz be RCON ba
2. nyomd meg a tab-ot ott kattints rá 1 játékos nevére kétszer(ha csak te vagy fenn a szerveren akkor a sajátodra)és ott vannak funkciók..
Ez az egész így volt benne az alap játékmódba és nekem nem sikerült mind1ik lehetõséget kiírni..
Admin csak az lehet,aki belép RCON ba, mivel csak az Adri1 által írt adminfunkciók vannak a GameModeba..
Kérésedre megpróbálok valamiféle \"adminrendszert\" beleírni a játékmódba
Dupla hozzászólás automatikusan összefûzve. ( 2014. június 29. - 14:12:29 )
Amikor kiírtam a választ akkor láttam hogy módosítottad a kérdést :laugh:
De nembaj, legalább plussz 1 hozzászólás :)
Bocsi, hogy késõn válaszolok, nem fogad el youtubos linket.És ha magyar a zene?
Menj fel ide: mp3skull.com és itt beírod a zenéd nevét a keresõbe..
Ha megvan akkor menj rá a \"Play\" re és ha elindul a zene akkor állítsd meg, vidd az egeret a \"Download\" gombra, nyomj jobb klikket és menj erre: \"Copy Link Location\" vagy magyarul: \"Link Címének Másolása\"
Aztán a kimásolt címet már beillesztheted :)