WTF, Setplayerpos
#1

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;
}
Reply
#2

You forgot SetPlayerInterior(i,6); change 6 to whatever ID of the interior is.
Reply
#3

Or if its a custom int, You might have to run a SettimerEx and freeze them.
Reply
#4

Quote:
Originally Posted by Devine
You forgot SetPlayerInterior(i,6); change 6 to whatever ID of the interior is.
-_- error 017: undefined symbol "i"
Reply
#5

you need to use SetPlayerInterior(playerid, 6);

" i " is used in player loops.
Reply
#6

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;
	}
Reply
#7

Код:
if(pickupid == pdbas)
	{
	SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
	SetPlayerInterior(playerid, 3);
	return 1;
	}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)