help with leave interior please(solved thanks anyway) - 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: help with leave interior please(solved thanks anyway) (
/showthread.php?tid=84370)
help with leave interior please(solved thanks anyway) -
Mr_Finnigan - 30.06.2009
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
if(pickupid == Pickup1)
{
SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
SetPlayerInterior(playerid, 1);
}
else if(pickupid == Pickup2)
{
SetPlayerPos(playerid,-1990.7128,885.8662,45.2499);
SetPlayerInterior(playerid, 0);
}
When i enter checkpoint it works great i end up in interior but when i leave and walk into checkpoint i go outside but its all grey and i cant see any building, vehicles ect.... ?
Re: help with leave interior please(solved thanks anyway) -
Doppeyy - 21.07.2009
try to change the
else if
to
else