23.05.2013, 19:04
pawn Код:
if(strcmp(cmdtext,"/mudar",true) == 0)
{
new pname[MAX_PLAYER_NAME];
new string[128];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "{006400}[INFO]: {FF1493}%s Foi Mudar de Skin!! {FFFF00}( /mudar)", pname);
SendClientMessageToAll(Verde_Floresta, string);
ForceClassSelection(playerid, 1);
return 1;
}
Ou
24
pawn Код:
new pname[24];
GetPlayerName(playerid, pname, 24);