12.12.2009, 20:19
pawn Код:
if(strcmp("/names-off",cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, false);
return GameTextForPlayer(playerid,"~w~nametags ~r~off",3000,3);
}
if(strcmp("/names-on", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++) ShowPlayerNameTagForPlayer(playerid, i, true);
return GameTextForPlayer(playerid,"~w~nametags ~g~on",3000,3);
}
if(strcmp("/backup", cmdtext, true) == 0 || strcmp("/bk", cmdtext, true) == 0)
{
new est[128],e[MAX_PLAYER_NAME];
GetPlayerName(playerid,e,MAX_PLAYER_NAME);
format(est,128,"%s is need of backup! If you are on his team, please respond!",e);
return SendClientMessageToAll(COLOR,est);
}