Spawn Problem
#1

hey guys in my new script that im doing im saving the person's X,Y,Z when they leave but when they login
and click spawn its saying please stay in the world and not spawning me on my last position
Reply
#2

You have to use the function SetSpawnInfo(playerid, blablabla); before you can spawn a player or that error will occour. Hope it helped
Reply
#3

Do you have AddPlayerClass ?
Reply
#4

Quote:
Originally Posted by Ultra-Gaming
Посмотреть сообщение
its saying please stay in the world
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
Reply
#5

"please stay in the world" are you using SetPlayerWorldBounds? on player connect, on player spawn or on playerclassselection(or how ever)?
How do you save stats(position)? show us the code. As well as that show us loading stats.
Reply
#6

iv added AddPlayerClass and SetPlayerWorldBounds but its still doing it

pawn Код:
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
        SetPlayerPos( playerid, PosX[ playerid ], PosY[ playerid ], PosZ[ playerid ] );
        SetPlayerFacingAngle( playerid, Angle[ playerid ] );
        SetPlayerInterior( playerid, Interior[ playerid ] );
        SetPlayerVirtualWorld( playerid, VirtualWorld[ playerid ] );  // this loads the position int and VW
Reply
#7

Dont add SetPlayerWorldBounds
CTRL + F and remove it!
Reply
#8

how is this going to fix my problem its not place
Reply
#9

BUMP still happening
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)