Saving Position Problem
#1

Alright I created a saving position piece into my script, well from the first login you are falling through blueberry then spawn at blueberry does anyone know how to fix this? I used this tutorial for it, http://forum.ragezone.com/f500/tutor...-spawn-699593/
Reply
#2

Add a check if their account exists, if so, use SetPlayerPos with their saved position coordinates.
If their account is new, use SetPlayerPos(playerid, desired_x_cord, desired_y_cord, desired_z_cord);

Your script probably lacks the SetPlayerPos for the first time, check if it's there on OnPlayerConnect.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)