Okay, I need a bit info here - 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: Okay, I need a bit info here (
/showthread.php?tid=75538)
Okay, I need a bit info here -
HB - 02.05.2009
Код:
if(InHouse[playerid]!=0)
{
InHouse[playerid]=0;
InHouseID[playerid]=0;
}
if(GetPlayerInterior(playerid)!=0)
{
SetPlayerInterior(playerid,0);
}
SetPlayerPos(playerid,x,y,z);
This puts the player back in the car... Whats wrong here. I don't get it anymore. SetPlayerPos(playerid,blabla); just works fine but when I do this it won't. Btw, for people who think: U can't use SetPlayerPos like this. I can, its my own function.
Edit: Wow, I actually found something whats unessesary in my own script, changing that.
Edit2: Nevermind, just removed those lines and I saw it actually doesn't work without those lines. Probably a SA-MP bug.