25.01.2013, 08:36
1.first define the colors
2.then use these includes
3. and then copy then paste this any where you want, you can post it at the last line of the script.
enjoy.
2.then use these includes
Код:
#include <sscanf2> #include <ZCMD>
Код:
COMMAND:me(playerid,params[]) { new msg[50]; if(!sscanf(params, "s[50]",msg)) { new mename[MAX_PLAYER_NAME]; GetPlayerName(playerid,mename,sizeof(mename)); new string[256]; format(string,sizeof(string),"** %s %s **",mename,msg); SendClientMessageToAll(COLOR_PINK,string); } else SendClientMessage(playerid,COLOR_YELLOW,"USAGE: /me <rp text>"); return 1; }