Spawn problem : Setplayerpos --> kick , setspawninfo --> work , but wrong coords?
#1

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

Please explain.
Reply
#3

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

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
Reply
#5

Well, i'm certainly not helping you now.
Reply
#6

WHY DOESEN'T WORK (
Reply
#7

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

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)