little pickup spawns problem
#1

hello again

when player picks up a pickup, it will respawn to other location. if I use random spawn location, it might spawn to same location again which I dont want. my question is: how to make pickup to spawn always to next location.

Код:
new Float:Locations[3][3] = {
  {1239.6410,3581.0327,4.6139}, //first time it spawn here, after picking up..
  {1926.5193,2568.5424,2.1797}, //here..
  {2100.1697,1315.0695,5.2578} //and third time here.
}
is that possible?
Reply
#2

Add something like this OnPlayerPickUpPickup

if(pickupid == pickup#1)
{
pickup#2 = CreatePickup(.....); //new location
}
if(pickupid == pickup#2
{
pickup#3 = CreatePickup(.....); //new loc..
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)