OnPlayerSpawn Problem. - 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: OnPlayerSpawn Problem. (
/showthread.php?tid=94465)
OnPlayerSpawn Problem. -
Erkan - 30.08.2009
Код:
if(PlayerData[playerid][Prison] == 1)
{
SendClientMessage(playerid, RED, "Back to jail bad boi");
SetPlayerInterior(playerid,6);
SetPlayerPos(playerid,264.6288,77.5742,1001.0391);
}
I get the message, but it won't teleport me to jail.
Any Ideas ?
Re: OnPlayerSpawn Problem. -
HuRRiCaNe - 30.08.2009
are u sure thats the interior?
Re: OnPlayerSpawn Problem. -
craponnaruto - 30.08.2009
The interior is 10
Re: OnPlayerSpawn Problem. -
Erkan - 30.08.2009
The Interior is not important it does not teleport me back that's weird.
Re: OnPlayerSpawn Problem. -
ded - 30.08.2009
If the interior is wrong everything will look blue. If it isn't setting your position then that is quite strange because the code looks ok.
Re: OnPlayerSpawn Problem. -
Erkan - 30.08.2009
Thanks to all thang god i made this cmd.