Little help please.
#2

Make an array and create the pickups..then loop through pickups when player enter one..
for example
pawn Код:
new Pickup[2];

//OnGameModeInit

Pickup[0] = Createpickup..
Pickup[1] = Createpickup..

//OnPlayerPickupPickUp

for(new i; i<sizeof(Pickup); i++)
{
    if(pickupid == Pickup[0])
    {
    //Open the gate
    }
}
Reply


Messages In This Thread
Little help please. - by iOxide - 15.12.2013, 15:44
Re: Little help please. - by xVIP3Rx - 15.12.2013, 16:02
Re: Little help please. - by iOxide - 15.12.2013, 16:28
Re: Little help please. - by iOxide - 15.12.2013, 18:40

Forum Jump:


Users browsing this thread: 1 Guest(s)