17.11.2010, 02:55
Answer to Question 6.
Good luck mate.
Код:
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; }