Respawn on Saved Position Code?
-
-
TheHiddenHour how am i going to bind it
-
Duui YT I mean, what you've got already looks like it should work.
-
Duui YT simple. 2 lines in onPlayerSpawned.
Onplayerspawn, put this:
if (isDefined(self.a) && isDefined(self.o)) { self setplayerangles(self.a); self setorigin(self.o); }
This will respawn you on your saved position if its set. Keep the original save and load code too.
-
Codgogo_replied to mikzy on Feb 8, 2021, 5:17 PM last edited by Codgogo_ Feb 8, 2021, 7:24 PM
mikey where i put this scripte which folder and type
-
TheHiddenHour How did u name it in .gsc