12.01.2011, 14:20
Quote:
im trying to script a /aod command Amin On Duty this is what i got
it complies fine but when i get in game and test it the server crashes :/ i think its because of the sendclientmessage toall because im wanting to to say the players name witch is %s but server crahes IDK what i did wrong please help |
Код:
SendClientMessageToAll(0x33CCFFAA," %s Is now a off duty Admin");
pawn Код:
new string[64], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), " %s Is now a off duty Admin", name);
SendClientMessageToAll(0x33CCFFAA, string);
pawn Код:
#define your_color 0x33CCFFAA