07.02.2012, 17:25
Hi there, I am getting kinda tired of typing:
over and over again on every action a player does, like pm'in, /me action etc,
How could I make a function like messageadmin() or something?
How would my public/stock look like?
pawn Код:
foreach(Player, i) {
if(PlayerInfo[i][AdminLevel] >= 3) {
new
string[ 128 ], name[ MAX_PLAYER_NAME ];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "[ADMIN]:%s: %s", name, params);
SendClientMessage(i,COLOR_RED, string);
How could I make a function like messageadmin() or something?
How would my public/stock look like?