SA-MP Forums Archive
Damn Whats it Called 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Damn Whats it Called Again? (/showthread.php?tid=89225)



Damn Whats it Called Again? - clean180ollie - 31.07.2009

You know in Servers when you get a job theres like a file in your .ini where you set your job... (hard to understand)

Like
Код:
registered=1
RegisteredDate=30/7/2009
loggedin=1
banned=0
level=1337
LastOn=31.7.2009
money=0
kills=0
deaths=2
hours=0
minutes=37
seconds=39
job=0
x1=-1611
y1=652
z1=7
interior1=0
weap1=0
weap1ammo=0
weap2=0
weap2ammo=0
weap3=0
weap3ammo=0
weap4=0
weap4ammo=0
weap5=0
weap5ammo=0
weap6=0
weap6ammo=0
health=100
armour=0
TimesOnServer=9
That how do you set it, So when a person gets a job his

job=0 goes up to a number I choose?

Sorry if you didnt understand


Re: Damn Whats it Called Again? - MenaceX^ - 31.07.2009

Which script do you use?


Re: Damn Whats it Called Again? - clean180ollie - 31.07.2009

my own GM Im makeing

That up there was Ladmin registration file that I will use for registration and login and other stuff


Re: Damn Whats it Called Again? - MenaceX^ - 31.07.2009

Check how the other things save.


Re: Damn Whats it Called Again? - clean180ollie - 31.07.2009

no not that how do you change it with scripting

like if a person goes to the job pickup

Make it turn to like
job=0
to
job=1


Re: Damn Whats it Called Again? - clean180ollie - 31.07.2009

?


Re: Damn Whats it Called Again? - Correlli - 31.07.2009

It's stored in variable which is saving. You need to change variable's value.


Re: Damn Whats it Called Again? - clean180ollie - 31.07.2009

Quote:
Originally Posted by Don Correlli
It's stored in variable which i saving. You need to change variable's value.
How do I do that, just change the file?