How to make it? [when you help me i will +rep]
#1

Hello all.
i download a Script from sa-mp.com and i try to learn Scripting.
i want to know how to make that.
When a players left the server and when he rejoin,how to make that he agine spawn at the place where he left.?
Reply
#2

Just search
https://sampforum.blast.hk/showthread.php?tid=311010
Here ya go
Reply
#3

Quote:
Originally Posted by Gaurav_Rawat
Посмотреть сообщение
Oo i have search it. but i have not find any. btw u have helped tnx and +Rep
Reply
#4

Inorder to do this, you have to use a saving system like dini or y_ini or mysql for online data storage. Save the pos at disconnect and load the pos under Onplayerspawn.
Reply
#5

You need a file save system for loading positions on spawn...It's best to start learn dini save systen,it's good and simple.
Reply
#6

Or better use YINI, faster than DINI and is more modern.
Reply
#7

well sir i think this TUT can help you too
https://sampforum.blast.hk/showthread.php?pid=1982242#pid1982242
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)