HELP with arrows and interiors!
#6

You should:

1. https://sampwiki.blast.hk/wiki/CreatePickup

2. https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

In OnGameModeInit you create pickup like:

On top of script

Код:
new myfirstpickup;
Then in OnGameModeInit

Код:
myfirstpickup = CreatePickup(model, type, x,y,z, virtualworld)
After that in OnPlayerPickUpPickup

Код:
if(pickupid = myfirstpickup)
{
  SetPlayerPos(playerid,x,y,z);
  SetPlayerInterior(playerid, interiorid);
  return 1;
}
That's how you create teleports by pickup.

Sry for mistakes if any.
Reply


Messages In This Thread
HELP with arrows and interiors! - by Assyria - 23.03.2010, 18:33
Re: HELP with arrows and interiors! - by Kevin_Wolf - 23.03.2010, 18:35
Re: HELP with arrows and interiors! - by Assyria - 23.03.2010, 18:40
Re: HELP with arrows and interiors! - by Correlli - 23.03.2010, 18:40
Re: HELP with arrows and interiors! - by Assyria - 23.03.2010, 18:41
Re: HELP with arrows and interiors! - by kamilbam - 23.03.2010, 18:46
Re: HELP with arrows and interiors! - by Correlli - 23.03.2010, 18:48
Re: HELP with arrows and interiors! - by Assyria - 23.03.2010, 18:59

Forum Jump:


Users browsing this thread: 1 Guest(s)