17.05.2013, 12:20
[QUOTE=-CaRRoT;2529858]I don't really get you - But basically, You'll create a variable - If the var is true it would work and continue - If not , The code would return.
Example
You'll create the var at your pInfo enum [if you got one] - Or it can be License[MAX_PLAYERS];
And it would work - You gotta put such line in your code tho
Example :
Can you be more spesefic cuz' i really dident understand you where i will put thoes things you told me
Example
PHP код:
if(PlayerInfo[playerid][pLic] == 0) return SendClientMessage(playerid, GREY, " You need a license for this job.");
And it would work - You gotta put such line in your code tho
Example :
PHP код:
Mycmd
{
if(PlayerInfo[playerid][pLic] == 0) return SendClientMessage(playerid, GREY, " You need a license for this job.");
}
bla bla