SA-MP Forums Archive
WTF is going on with my pawno??????? - 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: WTF is going on with my pawno??????? (/showthread.php?tid=148309)



WTF is going on with my pawno??????? - RSC_Quicker - 16.05.2010

Hello again.
I got this:
Код:
				new player = pStunt[playerid][Targeid];
  			  if(listitem == 0) // Goto
  			  {
          new Float:x,Float:y,Float:z;
					ClearPlayerStatus(playerid);
					GetPlayerPos(player,x,y,z);
					SetPlayerInterior(playerid,GetPlayerInterior(player));
					if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
					{
						SetVehiclePos(GetPlayerVehicleID(playerid),x+3,y,z);
						LinkVehicleToInterior(GetPlayerVehicleID(playerid),GetPlayerInterior(player));
						return pStunt[playerid][Targeid] = -1; 
					}
					else return pStunt[playerid][Targeid] = -1 && SetPlayerPosition(playerid,x,y,z+2);
  			  }
Why dah fock only my vehicle get teleported and not me?

Is it a new fuctions of sa-mp lol?