SA-MP Forums Archive
Help INI - 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: Help INI (/showthread.php?tid=484718)



Help INI - Fjclip99 - 01.01.2014

Hi, i need some help to make some script...

I am using YSI/y_ini and i have a command /buycar... now how when ever i type that command i need to put the name
(number) so that that will be in the scriptfiles folder. Can you help me make a script so that when i type command /buycar it automaticly put the name (number) in so that the name (number) is the same as the last one in the folder but + 1 ...

(i dont eed the script for all /buycar command, but just for that i wrote up there)

Thanks


Re: Help INI - Fjclip99 - 04.01.2014

Anyone ?


Re: Help INI - MatriXgaMer - 04.01.2014

I dont understend you can you explain a litle bit more ?


Re: Help INI - Fjclip99 - 08.01.2014

Example:
I type a command /buycar [ID]. The ID will be the INI file name in the script files folder.
Now i want to make so that it would do that automaticly. If in scriptfiles folder the last filename (number) is 20
it will automaticly make the new 'ID' 21. ((The last ID + 1))


Re: Help INI - Fjclip99 - 15.02.2014

Can anyone help please ?


Re: Help INI - Fjclip99 - 22.02.2014

PLEASE HELP ME !


Re: Help INI - Beckett - 22.02.2014

Quote:
Originally Posted by ******
Are we meant to guess your code?
This.