something doesn't save - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: something doesn't save (
/showthread.php?tid=560473)
something doesn't save -
Antoniohl - 28.01.2015
well if you're on duty as a cop and you've crashed or relogged you'll be off duty, i'm trying to find how to "create" this from wikipedia but i dunno what do i have to search for.
Re: something doesn't save -
Antoniohl - 28.01.2015
at least someone show me a tutorial or anything :/
Re: something doesn't save -
lulo356 - 28.01.2015
Did you created for example an pDuty
Re: something doesn't save -
Antoniohl - 28.01.2015
Nope.
Re: something doesn't save -
AdamsP - 28.01.2015
Just a notice; you can't save player data when you crash.
Re: something doesn't save -
Antoniohl - 28.01.2015
well true, but it's not a crash when they quit they goes off duty.
Re: something doesn't save -
Antoniohl - 28.01.2015
so..
Re: something doesn't save -
Antoniohl - 29.01.2015
you guys will never help my ass.
Re: something doesn't save -
IndependentGaming - 29.01.2015
You must make something like pOnduty so its will see in the script that your going onduty as a cop or what ever
for example like this PlayerData[playerid][pDuty] = 1;
Re: something doesn't save -
IndependentGaming - 29.01.2015
Also add it to your mysql or whatever you use