11.02.2011, 20:05
how can i make a /pm command and /ann command?
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;
}
pawn Код:
|
pawn Код:
|