[Ajuda] SKIN
#4

PHP код:
CMD:skin(playeridparams[])
{
    new 
skinmsg[128];
    if(
sscanf(params,"i"skin)) return SendClientMessage(playerid, -1"{CD0000}Use: /skin <0 a 311>");
    if(
skin || skin 311) return SendClientMessage(playerid, -1"{FF0000}Skin invбlida! Use de 1 а 311");
    
SetPlayerSkin(playeridskin);
    
format(msg128"{008B00}Skin setada para o ID{00FF00}%i{008B00}."skin);
    
SendClientMessage(playerid, -1msg);
    return 
1;

Necessita de ter a include <zcmd> e a include e plugin sscanf.
Aprenda a como usar sscanf com zcmd ou ycmd, consegues fazer esses cmds fбcil.
Reply


Messages In This Thread
SKIN - by maxblaya01 - 04.09.2015, 16:46
Re: SKIN - by matheusspohr - 04.09.2015, 16:54
Re: SKIN - by iTakelot - 04.09.2015, 17:03
Re: SKIN - by MacMillan_ - 04.09.2015, 17:05
Re: SKIN - by maxblaya01 - 04.09.2015, 17:35
Re: SKIN - by IgorLuiz - 04.09.2015, 17:42
Re: SKIN - by maxblaya01 - 04.09.2015, 17:47
Re: SKIN - by iTakelot - 04.09.2015, 17:48
Re: SKIN - by maxblaya01 - 04.09.2015, 18:06
Re: SKIN - by MacMillan_ - 05.09.2015, 02:29

Forum Jump:


Users browsing this thread: 1 Guest(s)