[Ajuda] SetPlayerAttachedObject Random
#2

no topo

pawn Код:
new Float:CapaceteRandom[][] =
{
    {ID capacete 1},
    {ID capacete 2},
    {ID capacete 3},
    {ID capacete 4}
};
no comando :

pawn Код:
new Random = random(sizeof(CapaceteRandom));
    SetPlayerAttachedObject (playerid, CapaceteRandom[Random][0], CapaceteRandom[Random][1], CapaceteRandom[Random][2]);
Creio que seja mais ou menos assim .
Reply


Messages In This Thread
SetPlayerAttachedObject Random - by CaozinhoDosCorre - 23.03.2013, 15:10
Re: SetPlayerAttachedObject Random - by Duun - 23.03.2013, 15:14
Re: SetPlayerAttachedObject Random - by CaozinhoDosCorre - 23.03.2013, 17:09

Forum Jump:


Users browsing this thread: 2 Guest(s)