Detecting when a player picks up a jetpack
#6

The pickup model, is not the pickupid!!!

So you must do sth like this:

PHP код:
new jetpack;
//OnGameModeInit
jetpack CreatePickup(370,...);
public 
OnPlayerPickUpPickup(playeridpickupid)
{
    if(
pickupid == jetpack)
    {
        
// code
    
}
    return 
1;

Greekz
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)