[Pedido] /Skin
#3

new skin[MAX_PLAYERS];
new myskin[256];

OnPlayerSpawn:
if(skin[playerid] == 1)SetPlayerSkin(playerid, strval(myskin));

Aqui o comando
if(!strcmp(cmd, "/setskin", true))
{
myskin = strtok(cmdtext, idx);
if (!strlen(myskin)){
return 1;
}
if ((strval(myskin) < 0) || (strval(myskin) > 299) || IsInvalidSkin(strval(myskin)))
return SendClientMessage(playerid, COLOR_BRIGHTRED, "Invalid Skin");
SetPlayerSkin(playerid, strval(myskin));
skin[playerid] = 1;
return 1;
}
й o seguinte gosto gosto nao gosto foda-se
Reply


Messages In This Thread
[Pedido] /Skin - by Danilo_Grut - 26.07.2010, 21:22
Re: [Pedido] /Skin - by BiieL - 27.07.2010, 00:24
Re: [Pedido] /Skin - by danielmondello - 27.07.2010, 00:58

Forum Jump:


Users browsing this thread: 1 Guest(s)