if(i == 2) // paint ball { if(PlayerInfo[playerid][pFLicense] >= 1) { SendClientMessage(playerid, COLOR_RED, "ERROR: You already have a Flying License!"); return 1; } fltest[playerid] = 1; AntiHack(playerid, -AntiHack(playerid,-SBizzInfo[2][sbEntcost]); SendClientMessage(playerid, COLOR_GREEN, "You can now take a flying test, get a shamal from the Los Santos Airport!");
if(i == 2) // paint ball { if(PlayerInfo[playerid][pFLicense] >= 1) { SendClientMessage(playerid, COLOR_RED, "ERROR: You already have a Flying License!"); return 1; } fltest[playerid] = 1; AntiHack(playerid, -AntiHack(playerid,-SBizzInfo[2][sbEntcost]); SendClientMessage(playerid, COLOR_GREEN, "You can now take a flying test, get a shamal from the Los Santos Airport!"); }
Originally Posted by andrewp
Код:
if(i == 2) // paint ball { if(PlayerInfo[playerid][pFLicense] >= 1) { SendClientMessage(playerid, COLOR_RED, "ERROR: You already have a Flying License!"); return 1; } fltest[playerid] = 1; AntiHack(playerid, -AntiHack(playerid,-SBizzInfo[2][sbEntcost]); SendClientMessage(playerid, COLOR_GREEN, "You can now take a flying test, get a shamal from the Los Santos Airport!"); } |
if(PlayerInfo[playerid][pFLicense] >= 1) { SendClientMessage(playerid, COLOR_RED, "ERROR: You already have a Flying License!"); return 1; }
if(i == 2) // paint ball { if(PlayerInfo[playerid][pFLicense] >= 1) { SendClientMessage(playerid, COLOR_RED, "ERROR: You already have a Flying License!"); return 1; } fltest[playerid] = 1; AntiHack(playerid, -AntiHack(playerid,-SBizzInfo[2][sbEntcost]); SendClientMessage(playerid, COLOR_GREEN, "You can now take a flying test, get a shamal from the Los Santos Airport!"); }
Originally Posted by iLcke
usally 26 errors = missing bracket?
|
if(PlayerInfo[playerid][pFLicense] >= 1) { SendClientMessage(playerid, COLOR_RED, "ERROR: You already have a Flying License!"); return 1; }