24.01.2011, 18:09
how can i make when i type /radio and another /radio "Your Radio is allready on!"
Код:
if(!strcmp(cmdtext, "/radio", true)) { if(Audio_IsClientConnected(playerid)) { SendClientMessage(playerid,YELLOW,"* Radio now On"); base = Audio_PlayStreamed(playerid, "http://listen.base/dsl.pls"); } else { SendClientMessage(playerid, COLOR_GREEN, "* No Audio Plugin installedl!"); } return 1; }