Post: Give Player Save And Load
10-18-2016, 06:28 PM #1
Kaedin
Gobble
(adsbygoogle = window.adsbygoogle || []).push({}); I'm working on my FFA Menu and i was wondering if anyone has the function give player save and load because i cant find it anywhere:(*

and maybe tell/teach me how to make a function so that i can give a player it.

Skype: Kovely (im from the Netherlands)
(adsbygoogle = window.adsbygoogle || []).push({});
10-18-2016, 07:44 PM #2
You can call functions on entities so just call it on the player. No need to change anything...
10-18-2016, 08:40 PM #3
SaveandLoad()
{
if(self.SnL==0)
{
self iPrintln("Save and Load [^2ON^7]");
self iPrintln("Press [{+actionslot 3}] To Save and Load Position!");
self thread doSaveandLoad();
self.SnL=1;
}
else
{
self iPrintln("Save and Load [^1OFF^7]");
self.SnL=0;
self notify("SaveandLoad");
}
}
doSaveandLoad()
{
self endon("disconnect");
self endon("death");
self endon("SaveandLoad");
Load=0;
for(;Winky Winky
{
if(self actionslotthreebuttonpressed()&& Load==0 && self.SnL==1)
{
self.O=self.origin;
self.A=self.angles;
self iPrintln("Position ^2Saved");
Load=1;
wait 2;
}
if(self actionslotthreebuttonpressed()&& Load==1 && self.SnL==1)
{
self setPlayerAngles(self.A);
self setOrigin(self.O);
self iPrintln("Position ^2Loaded");
Load=0;
wait 2;
}
wait .05;
}
}
10-18-2016, 08:43 PM #4
Kaedin
Gobble
oh really.. wow sorry to waste your time. but thanks!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo