/me COMMAND help for roeplay
#4

you do not need sscanf for that you could just

pawn Код:
CMD:me(playerid, params[])
{
     new string[128], pname[MAX_PLAYER_NAME];
     GetPlayerName(playerid, pname, sizeof(pname));
     if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /me <text>");
     format(string,sizeof(string),"*%s %s",pname,msg);
     SendClientMessageToAll(COLOR_GREY,string);
     return 1;
}
Reply


Messages In This Thread
/me COMMAND help for roeplay - by Alexy_Dramon - 18.03.2012, 07:54
Re: /me COMMAND help for roeplay - by antonio112 - 18.03.2012, 07:59
Re: /me COMMAND help for roeplay - by doreto - 18.03.2012, 08:01
Re: /me COMMAND help for roeplay - by Reklez - 18.03.2012, 08:02
Re: /me COMMAND help for roeplay - by Kaczmi - 18.03.2012, 08:02
Re: /me COMMAND help for roeplay - by doreto - 18.03.2012, 08:04
Re: /me COMMAND help for roeplay - by Reklez - 18.03.2012, 08:05
Re: /me COMMAND help for roeplay - by Alexy_Dramon - 18.03.2012, 08:17

Forum Jump:


Users browsing this thread: 4 Guest(s)