07.04.2013, 09:35
pawn Код:
else if (dialogid == D_RADIO_PINPUT1 && response)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(playerid))
{
PlayAudioStreamForPlayer(i,inputtext);
break;
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"ERROR:{FF 00EA}You {A90202}NOT A {3FCD02}STAFF!");
break;
}
}
}
Im sorry if the code looks messy, i typed it from my mobile which doesnt works pretty well sometimes.
Im very sure this code will work though.
If it doesnt, then ill help you later when i get on my computer.