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)
+--- Thread: License System (
/showthread.php?tid=299380)
License System -
Jordiee - 25.11.2011
I was wondering if anyone has a SIMPLE license system..
/givlic [id]
/takelic [id]
/suspendlic [id]
/showlic [id]
just that please
Re: License System -
Kingunit - 25.11.2011
You need to have a save system for that.
Re: License System -
Jordiee - 25.11.2011
How would I create one?
Re: License System -
Tanush123 - 25.11.2011
add a variable for driving license
new
under your includes and look on search for register and login tutorial/fs for saving then add cLic in your saving code
Re: License System -
Jordiee - 26.11.2011
Can someone help, Sorry ^^ Im new and dont understand you.
Re: License System -
Rob_Maate - 26.11.2011
If your really that new, your best to go get the GodFather script or some other released working script and just edit it. It's hard to understand how to write a full system without any prior experience.
Re: License System -
Jordiee - 26.11.2011
LOL, God Father Gamemode.. Funny guy, Anyway I been coding for a few weeks, but I haven't done stuff like that :/. Yet I have added a new Drug system like this o.O
Re: License System -
Scenario - 26.11.2011
If you have been coding for weeks, then you shouldn't have a problem with creating a simple license system!
Re: License System -
Rob_Maate - 26.11.2011
Wasn't a joke
The godfather script is how I learned pawno
+ It has a license system
Re: License System -
Scenario - 26.11.2011
Quote:
Originally Posted by Rob_Maate
Wasn't a joke
The godfather script is how I learned pawno
+ It has a license system
|
... and that's probably why you are using strcmp (compared to ZCMD/YCMD) for commands and strtok (compared to sscanf) for parameters.