SA-MP Forums Archive
Licence to some jobs - 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: Licence to some jobs (/showthread.php?tid=122090)



Licence to some jobs - alex25ro - 20.01.2010

It is possible to add a license to e secondary job?
Let's say that you got the bodyguard job, to be able to get a job as bodyguard you need a licence, or if you want to /guard ID $$$ you need licence.
I want to add some job licences.
Thanq you


Re: Licence to some jobs - [HiC]TheKiller - 20.01.2010

What gamemode are you using?


Re: Licence to some jobs - alex25ro - 20.01.2010

Is LARP a GF edit? Cuz i use LARP


Re: Licence to some jobs - Lajko1 - 20.01.2010

make the command and than

Код:
if(HasLicense[playerid] = true
{
//+ other code
SendClientMessage(....);
return1;
}
if(HasLicense[playerid] = false
{
SendClientMessage(.....);
return 1;
}
i give just an example and than u must ofc save those licenses with dini,dudb ...


Re: Licence to some jobs - alex25ro - 20.01.2010

Quote:
Originally Posted by Lajko1
make the command and than

Код:
if(HasLicense[playerid] = true
{
//+ other code
SendClientMessage(....);
return1;
}
if(HasLicense[playerid] = false
{
SendClientMessage(.....);
return 1;
}
i give just an example and than u must ofc save those licenses with dini,dudb ...
I see, anyway i want to be a normal license, that you can achive if you do a test.