03-07-2008, 07:38 PM
Shoebox these are the commands for /kill and /skin
Btw all skin id's are on sa-mp wiki
/kill
/skin
Btw all skin id's are on sa-mp wiki
/kill
Code:
if(strcmp(cmdtext, "/kill", true) == 0) return SetPlayerHealth(playerid, 0.0);/skin
Code:
if(!strcmp(cmd, "/skin", true))
{
new tmp[256], str[256], skin;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /skin [id]");
skin = strval(tmp);
SetPlayerSkin(playerid, skin);
format(str, 256, "Your skin is set to %d", skin);
SendClientMessage(playerid, COLOR_GREEN, str);
return true;
}