SA-MP Forums Archive
Need help!!! - 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: Need help!!! (/showthread.php?tid=103830)



Need help!!! - unique1801 - 21.10.2009

I made a teleport command
using this


SetPlayerPos(playerid, 1234.234, 2142.1245, 2457.5243); // edited


but when i get teleported there with a vehicle i cant see any objects!

but when i get off my vehicle ... every thing is seen!

pls help


Re: Need help!!! - Peter_Corneile - 21.10.2009

Maybe because the teleport leads to another int (else than 0)


Re: Need help!!! - unique1801 - 21.10.2009

wad does that mean ?



Re: Need help!!! - Peter_Corneile - 21.10.2009

in your teleport command do you have
pawn Код:
SetPlayerInterior(playerid,interiorid);
?


Re: Need help!!! - unique1801 - 21.10.2009

no im currently using this :


Код:
	if(strcmp(cmdtext, "/stunt", true) == 0)
	{

	  SetPlayerPos(playerid, 15.121410369873, 1991.1104736328, 3910.7917480469);
		return 1;
  }



Re: Need help!!! - Peter_Corneile - 21.10.2009

When you go to the place on foot , you can see everything properly ?


Re: Need help!!! - unique1801 - 21.10.2009

yeaa! i can see when! i go on foot!

but when i go with a bike i cant see nything!
and when i get off my bike!

i see everything



Re: Need help!!! - unique1801 - 21.10.2009

PLease help


Re: Need help!!! - Peter_Corneile - 21.10.2009

pawn Код:
if(strcmp(cmdtext, "/stunt", true) == 0)
    {
    new car;
    car = GetPlayerVehicleID(playerid);
      if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
      {
      SetVehiclePos(car,15.121410369873, 1991.1104736328, 3910.7917480469);
      }
      else
      {

      SetPlayerPos(playerid, 15.121410369873, 1991.1104736328, 3910.7917480469);
      }
     return 1;
  }
Try something like this


Re: Need help!!! - unique1801 - 21.10.2009

i dont need the player in a vehicle!!!