[AJUDA]Skins e Pickups
#9

Quote:
Originally Posted by Sa-mp scripter
Посмотреть сообщение
pawn Код:
CMD:compraroupa(playerid, params[])
{
    new id;

    if (IsPlayerInRangeOfPoint(playerid, distanзia, x, y, z) )
    {
        if (sscanf(params, "u", id) return SendClientMessage(playerid, 0xFFFFFFFF, "Use: /compraroupa id.");

        SetPlayerSkin(playerid, id);
    }
    return 1;
}
Com seleзгo em cima:

pawn Код:
new roupa;
pawn Код:
roupa = CreatePickup(estilo, tipo, x, y, z, mundo virtual);
pawn Код:
if (pickupip == roupa)
{
    //Funзгo.
}
esse precisa do include zcmd

@EDIT

pawn Код:
//ENTRADA PRO BINCO
else if(PlayerToPointStripped(1, playerid,2244.3423,-1665.5542,15.4766, cx,cy,cz))//coords da entrada (porta)
    {//Binco next to 10 green
        GameTextForPlayer(playerid, "~p~Binco", 5000, 1);
        SendClientMessage(playerid, COLOR_WHITE, "DICA: Use /meuskin para mudar sua roupa");
        SetPlayerInterior(playerid, 15);
        SetPlayerPos(playerid,207.7336,-108.6231,1005.1328);
        PlayerInfo[playerid][pInt] = 15;
Reply


Messages In This Thread
[AJUDA]Skins e Pickups - by humildadeforever - 08.01.2011, 13:34
Re: [AJUDA]Skins e Pickups - by [Ips]Guh - 08.01.2011, 13:44
Re: [AJUDA]Skins e Pickups - by humildadeforever - 08.01.2011, 13:52
Re: [AJUDA]Skins e Pickups - by Sa-mp scripter - 08.01.2011, 15:02
Re: [AJUDA]Skins e Pickups - by Bruno Pereira - 08.01.2011, 15:05
Re: [AJUDA]Skins e Pickups - by [FeK]Knife - 08.01.2011, 15:46
Re: [AJUDA]Skins e Pickups - by Bruno Pereira - 08.01.2011, 16:21
Re: [AJUDA]Skins e Pickups - by [FeK]Knife - 08.01.2011, 17:08
Re: [AJUDA]Skins e Pickups - by 385gtamaster - 09.01.2011, 12:42
Re: [AJUDA]Skins e Pickups - by humildadeforever - 09.01.2011, 12:54

Forum Jump:


Users browsing this thread: 3 Guest(s)