Some Questions
#6

Answer to Question 6.

Код:
new Checkpoint; //this is gonna be the name of your pickup example: new binco1;

public OnGameModeInIt
{
 Checkpoint = CreatePickup(PICKUPid, PickupTYPE, x,y,z, Virtual world); // pickup = Createpickup(1317, 1, 1337,1337,1337, -1); Hmm You can use ID 1317 instead of that long check point
return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Checkpoint) // so if you did new binco1; you have to do it like this if(pickupid == binco1)
{
SetPlayerInterior(playerid, INTERIORID); // Interior ID from WIKI keep it 0.
SetPlayerPos(playerid, X,Y,Z); // X,Y,Z = //The place you want to teleport to
return 1;
}
Good luck mate.
Reply


Messages In This Thread
Some Questions - by Rokzlive - 17.11.2010, 01:14
Re: Some Questions - by Ruffles. - 17.11.2010, 01:20
Re: Some Questions - by Haydz - 17.11.2010, 01:32
Re: Some Questions - by Rokzlive - 17.11.2010, 02:04
Re: Some Questions - by Ruffles. - 17.11.2010, 02:20
Re: Some Questions - by Ehab1911 - 17.11.2010, 02:55
Re: Some Questions - by [MWR]Blood - 17.11.2010, 08:01
Re: Some Questions - by Rokzlive - 17.11.2010, 16:17
Re: Some Questions - by Rokzlive - 17.11.2010, 16:44
Re: Some Questions - by Bessensap - 18.11.2010, 08:20

Forum Jump:


Users browsing this thread: 1 Guest(s)