19.04.2011, 22:09
How to actually create a proper /me system? Please elaborate further than just saying; InRange blabla
I'm currently using this, which tells all players about the /me
Thanks!
I'm currently using this, which tells all players about the /me
Код:
new string[128]; if(strlen(params) < 5) return SendClientMessage(playerid, 0xAFAFAFAA, "Your action has to contain at least 5 chars."); format(string, sizeof(string), "( ( %s [ %d ] ) : %s )", GetName(playerid), playerid, params); SendClientMessageToAll(GetPlayerColor(playerid), string); return 1; }