21.04.2012, 08:54
PHP код:
if(strcmp(cmd, "/skin", true)==0)
{
new tmp[128], nombre[MAX_PLAYER_NAME], string[128];
tmp = strtok(cmdtext, idx);
new skin = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, -1, "Usa: /skin [ID]");
SetPlayerSkin(playerid, skin);
format(string, sizeof(string), "[SKIN]: Ha cambiado a Skin (ID:%d)", skin);
SendClientMessage(playerid, -1, string);
return 1;
}