04.03.2015, 13:22
The pickup model, is not the pickupid!!!
So you must do sth like this:
Greekz
So you must do sth like this:
PHP код:
new jetpack;
//OnGameModeInit
jetpack = CreatePickup(370,...);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == jetpack)
{
// code
}
return 1;
}