Little bug - 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)
+--- Thread: Little bug (
/showthread.php?tid=472572)
Little bug -
boomerboom - 29.10.2013
Hello why do I get this bug?
image url upload
Re: Little bug -
Konstantinos - 29.10.2013
Type /interior in-game when this happens. Is the interiorid 0?
Re: Little bug -
boomerboom - 29.10.2013
Quote:
Originally Posted by Konstantinos
Type /interior in-game when this happens. Is the interiorid 0?
|
It's 14.But it doesn't work.
Код:
public OnPlayerConnect(playerid)
{
SetPlayerInterior(playerid, 0);
return 1;
}
Re: Little bug -
Konstantinos - 29.10.2013
It should be 0.
Is this happening when you want to spawn (by using OnPlayerSpawn)? If so:
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid, 0);
// code..
return 1;
}
If it's a teleport with a command, set the interior to 0 in the command.
Re: Little bug -
-=Dar[K]Lord=- - 29.10.2013
there might be other systems like house system affecting to reset your position on spawn in the house check it...
Re: Little bug -
boomerboom - 29.10.2013
Quote:
Originally Posted by Konstantinos
It should be 0.
Is this happening when you want to spawn (by using OnPlayerSpawn)? If so:
pawn Код:
public OnPlayerSpawn(playerid) { SetPlayerInterior(playerid, 0); // code.. return 1; }
If it's a teleport with a command, set the interior to 0 in the command.
|
It's not :/ it's when I spawn.