SA-MP Forums Archive
help license system ? - 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: help license system ? (/showthread.php?tid=152443)



help license system ? - iJumbo - 04.06.2010

how can i make a license for a server if the file exist the gamemode start but i want the gm read the code into the file like license = licenze code is the code is wrong the gm dont start

sorry for bad english thx


Re: help license system ? - DJDhan - 04.06.2010

How do you store the license plate names?
Under the login system, get a variable to store the name from the file using dini (if you use dini) then attach a 3d text label to his car.


Re: help license system ? - iJumbo - 04.06.2010

is not car license is a gamemode license if the license is not in serverfiles and if the license not have the right code the server dont start up


Re: help license system ? - DJDhan - 04.06.2010

Lol sry, i misunderstood :P You could do something like this:
Код:
format(file,sizeof(file),"/Licenses/License.txt");
if(!fexist(file))
return SendRconCommand("gmx");
There you go, if the file doesn't exist in Script Files---->Licenses then the gamemode will keep restarting


Re: help license system ? - sjvt - 04.06.2010

Quote:
Originally Posted by DJDhan
Lol sry, i misunderstood :P
Код:
format(file,sizeof(file),"/Licenses/License.txt");
if(!fexist(file))
return SendRconComman("gmx");
There you go, if the file doesn't exist in Script Files---->Licenses then the gamemode will keep restarting
huh?


Re: help license system ? - DJDhan - 04.06.2010

Quote:
Originally Posted by SiloX
huh?
Instead of saying "huh?", make a point


Re: help license system ? - iJumbo - 04.06.2010

yea but i need a code into the file license


Re: help license system ? - iJumbo - 04.06.2010

em some one plz?§


Re: help license system ? - sjvt - 04.06.2010

Quote:
Originally Posted by [ZDM
jumbo ]
em some one plz?§
maybe pm someone?