18.10.2011, 14:08
How a can create pickup with when player press enter to enter the pickup
public OnGameModeInit()
{
Pickup = CreatePickup(1559, 2, 0.0, 0.0, 0.0, 1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pickup){
//Do something here
}
return 1;
}