Quote:
Originally Posted by funky1234
pawn Код:
dcmd_ann(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOUR_ADMIN, "Authority Level Required"); if(!strlen(params)) return SendClientMessage(playerid, COLOUR_ADMIN, "Usage: /ann [message]"); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { GameTextForPlayer(i, params, 10000, 5); } } return 1; }
|
thx but i forgot to say... i want this code in strtok