16.11.2010, 23:24
I serched and found this :
But I can't figure out how to put it together
pawn Code:
//This is at the top
new pickup;
public OnGameModeInit()
{
pickup=CreatePickup(...);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==pickup)
{
SetPlayerInterior(...);
SetPlayerPos(...);
}
}