Pickup
#1

hello
i was wondering about pickups
now i want to know how to create random spawns for a pickup and where to put the CreatePickup line..
and how to put the random co-ords in the CreatePickup

E.g.:
pawn Код:
new randomspawns[][] =  {
              {co-ords},
              {co-ords},
              {co-ords},
};

CreatePickup(1210, 23, randomspawns, 0);
would it be like that?
Reply
#2

pawn Код:
new Float:randomp[2][3] = {
{x,y,z},
{x,y,z}
};
new randcord = random(sizeof(randomp));
CreatePickup(1210,23,randomp[randcord][0], randomp[randcord][1], randomp[randcord][2],0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)