Okay, I need a bit info here
#1

Код:
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)