[Help] Saving position when reconnect in server [rep+1]
#1

Hi guys.. )
I need saving position.. example.:
when you type /q its saving position
and when you join again and spawn, teleports to your position when u quit the game.. (when u was walking,driving before)
thanks
repping!
_______________________
IP : 188.40.57.132:7777
Drift - Generation
Reply
#2

study dini or other saving system and learn how to create a Float saving system whit it
Reply
#3

nope.!
someone knows?!


Thanks!
Reply
#4

nope? nope?

Why is your awnser "nope" to "study to save"?

Studieng aint a bad thing, its even better then getting the code from someone,
Reply
#5

this filterscript will help you ↓

https://sampforum.blast.hk/showthread.php?tid=90556
Reply
#6

Make floats that will hold the players position. Then OnPlayerDisConnect you will use GetPlayerPos and use the floats as the xyz. Then OnPlayerSpawn add an if statement to check if any of the floats equal zero then spawn them at the (noobie) spawn. If their x float is higher than 0, then SetPlayerPos with the floats.
Reply
#7

listen brothas..
i've make and i learn
but i need to remove spawn coordinates and when you spawn caracter falls down (first time when you enter)
but if you join 2nd time and example type /sf and /q and reconnect it spawns to your last place (sf)
how to fix it ? hmmm
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)