14.08.2010, 00:44
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(joeskin, 7, cmdtext);
return 0;
}
dcmd_joeskin(playerid, params[])
{
#pragma unused params
if(AccInfo[playerid][Level] >= 1)
{
SetPlayerSkin(playerid, 294);
SendClientMessage(playerid, 0x00FF00AA, "Welcome Joe Grams");
} else { SendClientMessage(playerid,red,"Joes Skin!"); }
return 1;
}