10.05.2012, 21:52
(
Последний раз редактировалось Oscii; 11.05.2012 в 16:26.
Причина: Fixed!
)
This is my command..
On this line:
How do i make it so its like Server Administrator [Name] : [message] ?
As you can see it only has GetPlayerNameEx(playerid)
..
Regards
Oscii
pawn Код:
CMD:asay(playerid, params[])
{
new string[128];
if(PlayerInfo[playerid][pAdmin] < 99999) {
SendClientMessageEx(playerid, COLOR_GRAD2, "You are not authorized to use this command.");
return 1;
}
format(string, sizeof(string), "** Server Administrator %s: %s **", GetPlayerNameEx(playerid));
SendClientMessageToAll(COLOR_REALRED, string);
return 1;
}
pawn Код:
format(string, sizeof(string), "** Server Administrator %s: %s **", GetPlayerNameEx(playerid));
As you can see it only has GetPlayerNameEx(playerid)
..
Regards
Oscii