WTF, Setplayerpos - 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, Setplayerpos (
/showthread.php?tid=89269)
WTF, Setplayerpos -
clean180ollie - 01.08.2009
WTF
Why Does This Happen?
Im Trying to head to LV PD
if(pickupid == pdbas)
{
SetPlayerPos(playerid,288.745971,169.350997,1007.1 71875);
return 1;
}
Re: WTF, Setplayerpos -
Devine - 01.08.2009
You forgot SetPlayerInterior(i,6); change 6 to whatever ID of the interior is.
Re: WTF, Setplayerpos -
MrPanz - 01.08.2009
Or if its a custom int, You might have to run a SettimerEx and freeze them.
Re: WTF, Setplayerpos -
clean180ollie - 01.08.2009
Quote:
Originally Posted by Devine
You forgot SetPlayerInterior(i,6); change 6 to whatever ID of the interior is.
|
-_- error 017: undefined symbol "i"
Re: WTF, Setplayerpos -
kmann - 01.08.2009
you need to use SetPlayerInterior(playerid, 6);
" i " is used in player loops.
Re: WTF, Setplayerpos -
clean180ollie - 01.08.2009
Quote:
Originally Posted by KmanN
you need to use SetPlayerInterior(playerid, 6);
" i " is used in player loops.
|
It keeps happening
code
Код:
if(pickupid == pdbas)
{
SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
SetPlayerInterior(playerid, 6);
return 1;
}
Re: WTF, Setplayerpos -
Devine - 01.08.2009
Код:
if(pickupid == pdbas)
{
SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
SetPlayerInterior(playerid, 3);
return 1;
}