[MYSQL] Not spawning correctly.
#1

I am having some weird issue with my script.

pawn Код:
SetSpawnInfo(playerid, 0, 1, Player[playerid][PosX], Player[playerid][PosY], Player[playerid][PosZ]+1, Player[playerid][PosA], 0, 0, 0, 0, 0, 0);
This is the piece of code I use to spawn the player with. As you see, the Player[playerid][PosX], y, z and a are saved and successfully loaded. My problem is, that the player is spawning in the air. Not all times, but sometimes. Do you know what's wrong? Anyone?
Reply
#2

Are you sure it's saving/loading correctly? Did you debug it?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)