SA-MP Forums Archive
Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - 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: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? (/showthread.php?tid=509365)



Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - Kapone21 - 26.04.2014

[center]



Doesen't work if i try with Setplayerpos --> KICK , if i use SetSpawnInfo --> Work , no kick , wrong coords.

pawn Код:
SetSpawnInfo(playerid, 0, 0, 1684.0186,-2325.7605,13.5469,1.1800, 0, 0, 0, 0, 0, 0); <-- airport
        SpawnPlayer(playerid);
        SetPlayerPos(playerid,1684.0186,-2325.7605,13.5469);
        SetPlayerFacingAngle(playerid, 1.1800);



Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - superrobot48 - 26.04.2014

Please explain.


Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - Luis- - 26.04.2014

Just use either setspawninfo or setplayerpos, no need for both of them!


Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - Kapone21 - 26.04.2014

Are you idiot ? i already exaplin.

I'm trying to fix the register / login dialog.

When i use for spawn SetPlayerPos --> it's kick him automatic , and the gamemode doesen't have any kick function i check myself , is an bug i think

when i use SetSpawnInfo -- > Work , but it's teleport me to wrong coords , not the ones which one i type


Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - Luis- - 26.04.2014

Well, i'm certainly not helping you now.


Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - Kapone21 - 27.04.2014

WHY DOESEN'T WORK (


Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - NviDa - 27.04.2014

Kapone.
Debug guide:
https://sampwiki.blast.hk/wiki/Debug_Guide


Re: Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords? - KayJ - 27.04.2014

Quote:
Originally Posted by Kapone21
Посмотреть сообщение
Are you idiot ? i already exaplin.

I'm trying to fix the register / login dialog.

When i use for spawn SetPlayerPos --> it's kick him automatic , and the gamemode doesen't have any kick function i check myself , is an bug i think

when i use SetSpawnInfo -- > Work , but it's teleport me to wrong coords , not the ones which one i type
Use Proper Language!