16.03.2013, 23:22
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:
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.
Something like:
pawn Код:
new weplic[MAX_PLAYERS];
CMD:buylic(playerid, params[])
{
weplic[playerid] = 1;
dini_IntSet(the-playerid-file, "weplic", 1);
return 1;
}
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.