21.03.2018, 20:33
PHP код:
CMD:startm(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid,2.0, -216.7863, 985.1052, 19.3948))
{
if(Militar[playerid] == 1)
{
MilitarJob[playerid] = 1;
}
else return SendClientMessage(playerid, -1, "{FFCC33}Text!");
}
else return SendClientMessage(playerid,-1,"*"COL_RED" Text !");
return 1;
}
How can I achieve this?
Can I set MilitarJob[playerid] = X.
X = 1, 7, 14 ,20 ?