09.11.2009, 19:04
Код:
if(!strcmp(cmdtext,"/g", true,2)) if(!strlen(cmdtext[2])) return SendClientMessage(playerid, 0xAFAFAFAA, "USAGE: /g(roove)"); if(gTeam[playerid] != TEAM_GROVE) return SendClientMessage(playerid, 0xAFAFAFAA, "You can't use this command !"); new playername[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, playername, sizeof(playername)); format(string, sizeof(string), "* *Groove [%s]: %s,", playername, cmdtext[2]); for(new i = 0; i < MAX_PLAYERS; i++) { } return 1; }