Spawn Position Saver After Crash/Relog
#1

Is there a FS or anything that saves the persons positions when they crash or relog?

without getting MySQL or anything?
if so please tell

Thanks
Reply
#2

Quote:
Originally Posted by Eric Akito,
Is there a FS or anything that saves the persons positions when they crash or relog?

without getting MySQL or anything?
if so please tell

Thanks
You just create a file ex. "playername.crash" store the last saved pos of the player
and when the player comes back check if the file exists, if so read the file and set the play to the position in the file
and then delete it.
Reply
#3

im not getting you :S

sorry
Reply
#4

Quote:
Originally Posted by Eric Akito,
im not getting you :S

sorry
lol in pawno type this what is he say....
Reply
#5

Please before you are going to script some more advanced stuff, start creating smaller gamemodes, like dms and such, read the Wiki, and learn a little bit of C (the syntax of pawn is based on C)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)