03.07.2012, 09:56
You should download something like ocmd and include it to your script:
zcmd
dcmd
ocmd
something like it
And about strcmp:
I found this with ******:
I have never done it like this out maybe its working
zcmd
dcmd
ocmd
something like it
And about strcmp:
I found this with ******:
Код:
if(!strcmp(cmdtext, "/r", true)) { new string[128], Player[MAX_PLAYER_NAME]; GetPlayerName(playerid, Player, MAX_PLAYER_NAME); format(string, 128, "Radio: %s: %s", Player, cmdtext[2]); for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(gTeam[i] == TEAM_COP) { SendClientMessage(i,COLOR_LIGHBLUE,string); } } } return 1; }
