[AJUDA]Setarskin
#8

pawn Код:
SetPlayerPos(playerid, coordenada: x, coordenada: y, coordenada: z);
pawn Код:
SetPlayerSkin(playerid, id da skin);
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[50 char], params[100 char];
    new msg[128], new id;
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
    unformat(cmdtext, "s[50]S( )[100]",cmd,params);
    if(strcmp(cmd, "/setskin", treu) == 0)
    {
        new skin;
        if(sscanf(params, "ud", id, skin)) return SendClientMessage(playerid, -1, "USO: /setskin [Player ID] [skin]");
        SetPlayerSkin(id, skin);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
[AJUDA]Setarskin - by Alysson - 20.11.2011, 19:40
Re: [AJUDA]Setarskin - by Dolby - 20.11.2011, 19:51
Re: [AJUDA]Setarskin - by [NWD]Jim._.Carrey - 20.11.2011, 19:51
Re: [AJUDA]Setarskin - by humildadeforever - 20.11.2011, 19:57
Re: [AJUDA]Setarskin - by Miqueias Barros - 20.11.2011, 20:00
Re: [AJUDA]Setarskin - by ReDKiiL - 20.11.2011, 20:08
AW: [AJUDA]Setarskin - by Alysson - 20.11.2011, 21:09
Re: [AJUDA]Setarskin - by Cristhian - 20.11.2011, 21:14
AW: [AJUDA]Setarskin - by Alysson - 20.11.2011, 21:28
Re: [AJUDA]Setarskin - by Miqueias Barros - 20.11.2011, 23:50

Forum Jump:


Users browsing this thread: 1 Guest(s)