HDpawner 0 Odesláno: 11. Duben, 2015 Share Odesláno: 11. Duben, 2015 (upraveno) Zdravím, neviem si poradiť so spojením týchto dvoch vecí : public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == W) { if(listitem == 0) { } if(listitem == 1) { new pName[30], string[256]; new hsway[64]="CH/Info.cfg"; SetPlayerPosEx(playerid, 1, 2, 3); Server[LV]++; dini_IntSet("CH/Info.cfg","LasVenturas",Server[LV]); GetPlayerName(playerid, pName, 30); format(string, 256, "[! Server !] Las Venturas {87C7E1}%s (%dx)!", pName, dini_Int(hsway,"LasVenturas")); SendClientMessageToAll(C_WARP, string); GameTextForPlayer(playerid, "Las Venturas",2500,1); } if(listitem == 2) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402"); GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1); } } } if(dialogid == DM) { if(listitem == 0) { } if(listitem == 1) { new pName[30], string[256]; new hsway[64]="CH/Info.cfg"; SetPlayerPosEx(playerid, 1, 2, 3); Server[LV]++; dini_IntSet("CH/Info.cfg","LasVenturas",Server[LV]); GetPlayerName(playerid, pName, 30); format(string, 256, "[! Server !] Las Venturas {87C7E1}%s (%dx)!", pName, dini_Int(hsway,"LasVenturas")); SendClientMessageToAll(C_WARP, string); GameTextForPlayer(playerid, "Las Venturas",2500,1); } if(listitem == 2) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402"); GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1); } } } Za každú radu budem rad. Edited 11. Duben, 2015 by HDpawner Link to comment Share on other sites More sharing options...
0 eXot 18 Odesláno: 11. Duben, 2015 Share Odesláno: 11. Duben, 2015 public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == W) { if(listitem == 0) { } if(listitem == 1) { new pName[30], string[256]; new hsway[64]="CH/Info.cfg"; SetPlayerPosEx(playerid, 1, 2, 3); Server[LV]++; dini_IntSet("CH/Info.cfg","LasVenturas",Server[LV]); GetPlayerName(playerid, pName, 30); format(string, 256, "[! Server !] Las Venturas {87C7E1}%s (%dx)!", pName, dini_Int(hsway,"LasVenturas")); SendClientMessageToAll(C_WARP, string); GameTextForPlayer(playerid, "Las Venturas",2500,1); } if(listitem == 2) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402"); GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1); } } if(dialogid == DM) { if(listitem == 0) { } if(listitem == 1) { new pName[30], string[256]; new hsway[64]="CH/Info.cfg"; SetPlayerPosEx(playerid, 1, 2, 3); Server[LV]++; dini_IntSet("CH/Info.cfg","LasVenturas",Server[LV]); GetPlayerName(playerid, pName, 30); format(string, 256, "[! Server !] Las Venturas {87C7E1}%s (%dx)!", pName, dini_Int(hsway,"LasVenturas")); SendClientMessageToAll(C_WARP, string); GameTextForPlayer(playerid, "Las Venturas",2500,1); } if(listitem == 2) { PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=35402"); GameTextForPlayer(playerid, "Playing 181.FM - Chilled...",2500,1); } } return false; } Link to comment Share on other sites More sharing options...
Dotaz
HDpawner 0
Zdravím, neviem si poradiť so spojením týchto dvoch vecí :
Za každú radu budem rad.
Edited by HDpawnerLink to comment
Share on other sites
1 odpověd na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now