NGG account doesn't save (have to go through tutorial again) - 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: NGG account doesn't save (have to go through tutorial again) (
/showthread.php?tid=648653)
NGG account doesn't save (have to go through tutorial again) -
JulianWilliams - 26.01.2018
The title says it. I'm using the NGG gamemode.
Re: NGG account doesn't save (have to go through tutorial again) -
Gforcez - 26.01.2018
Okay..? But why does it not save.. Debug first and give us some information.
Re: NGG account doesn't save (have to go through tutorial again) -
JulianWilliams - 26.01.2018
Quote:
Originally Posted by Gforcez1337
Okay..? But why does it not save.. Debug first and give us some information.
|
Dunno how to debug. I probably have done it before from what I remember, but I don't know.
Re: NGG account doesn't save (have to go through tutorial again) -
Sew_Sumi - 26.01.2018
Can you please keep it to one thread... This is the 3rd thread, all regarding the same issues...
Just because you fixed one part of the issue, you then make another thread about the next issue stemming from this long ordeal.
That's not the way to do any of this.
(You've got people who are subscribed to those threads, then because you make a new one, they aren't subscribed to those, and you start with a fresh thread... If you kept it to those initial threads, then people would likely know what's happening next, after you 'fix' that one issue...
And all of these are related.)
Re: NGG account doesn't save (have to go through tutorial again) -
jasperschellekens - 26.01.2018
You can add debug messages to see what the script does.
Example:
PHP код:
PlayerWeedInfo[playerid][Weed][17]=INI_Int(file,"Weed17");
printf("Weed ID 17 has loaded: %d", PlayerWeedInfo[playerid][Weed][17]);
PlayerWeedInfo[playerid][Weed][18]=INI_Int(file,"Weed18");
printf("Weed ID 18 has loaded: %d", PlayerWeedInfo[playerid][Weed][18]);
PlayerWeedInfo[playerid][Weed][19]=INI_Int(file,"Weed19");
printf("Weed ID 19 has loaded: %d", PlayerWeedInfo[playerid][Weed][19]);
By adding debug msges you will know exactly where the script will go fault.