[HELP] LICENSES
#2

Well, you will just need to create a variable for each weapon ( eg. weplic ) and save the variable's value in a player's file.

Something like:
pawn Код:
new weplic[MAX_PLAYERS];

CMD:buylic(playerid, params[])
{
    weplic[playerid] = 1;
    dini_IntSet(the-playerid-file, "weplic", 1);
    return 1;
}
And then check it whenever you want. And 1 is when a player has a weapon license, 0 is when a player does not have a weapon license. Same goes for driver's license.

This is not explained very much as the hour at my country is now 03:00 in the morning/night call it how you want. And I am tired as fuck. Anyway.. I hope you understood.. if not send me a PM. I will explain tomorrow as soon as I come back from school if not one else already explained.
Reply


Messages In This Thread
[HELP] LICENSES - by NuggaN - 16.03.2013, 23:05
Re: [HELP] LICENSES - by Denying - 16.03.2013, 23:22
Re: [HELP] LICENSES - by NuggaN - 16.03.2013, 23:23
Re: [HELP] LICENSES - by NuggaN - 16.03.2013, 23:29
Re: [HELP] LICENSES - by BigGroter - 16.03.2013, 23:52
Re: [HELP] LICENSES - by NuggaN - 17.03.2013, 00:56
Re: [HELP] LICENSES - by Don_Cage - 17.03.2013, 01:00
Re: [HELP] LICENSES - by NuggaN - 17.03.2013, 01:03
Re: [HELP] LICENSES - by NuggaN - 17.03.2013, 01:10
Re: [HELP] LICENSES - by NuggaN - 17.03.2013, 01:41

Forum Jump:


Users browsing this thread: 1 Guest(s)