18.10.2012, 23:10
Код:
CMD:mylic(playerid, params[]) { new lic[128], divinglic[12], gunlic[12],flyinglic[12]; if(HasDrivingLic[playerid] == 0) drivinglic = "Not Passed"; else drivinglic = "Passed"; if(HasGunLic[playerid] == 0) gunlic = "Not Passed"; else gunlic = "Passed"; if(HasFlyingLic[playerid] == 0) flyinglic = "Not Passed"; else flyinglic = "Passed"; format(lic, sizeof(lic), "** Your Licenses - [Driving]: %s || [Gun]: %s || [Flying]: %s", drivinglic,gunlic,flyinglic); SendClientMessage(playerid, -1, lic); return 1; }