More teleports from Interior - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: More teleports from Interior (
/showthread.php?tid=229368)
More teleports from Interior -
aqu - 21.02.2011
Hello,I got an Admins team.Players in admins team spawn in interior(house).So I made a checkpoint,that when they get in it they teleports to world(interior 0).
I decited to make that other players will spawn in interior,but I don't know how to make more checkpoints.
I tried to make picups,but when they teleports from interior it not makes interior 0 .
So I tried make picup,that from interior they tele,Like:
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == mypickup)
{
SetPlayerPos(playerid, mycordinates);
SetPlayerInterior(playerid, 0);
}
return 1;
}
But it not makes interior 0 .
Any help?
Re: More teleports from Interior -
Jochemd - 21.02.2011
Don't they also teleport? If that, the pickupid is wrong.