12.02.2014, 14:59
(
Последний раз редактировалось Mauricee; 12.02.2014 в 15:23.
Причина: Little debug
)
Код:
YCMD:testa(playerid, params[], help) { new number; if(sscanf(params, "i", number)) return 1; { new string[64]; format(string,sizeof(string),"%d",number); switch(number) { case 0: { SetPlayerColor(playerid,0xFFFFFFAA); SendClientMessage(playerid,0xFFFFFFAA,string);}//None case 1: { SetPlayerColor(playerid,COLOR_DBLUE); SendClientMessage(playerid,COLOR_DBLUE,string);}//PD case 2: { SetPlayerColor(playerid,COLOR_DBLUE); SendClientMessage(playerid,COLOR_DBLUE,string);}//FBI } } return 1; }