15.03.2010, 01:46
Код:
if(strcmp(cmd, "/fltest", true) == 0) { PlayerToPoint(10,playerid,1958.300048,-2184.000000,13.500000); { fltest[playerid] = 1; SendClientMessage(playerid, TEAM_GROVE_COLOR, "FLYING TEST, get a shamal from the airport!"); AntiHack(playerid,-SBizzInfo[2][sbEntcost]); SBizzInfo[2][sbTakings] = SBizzInfo[2][sbTakings]+SBizzInfo[2][sbEntcost]; return 1; } SendClientMessage(playerid, COLOR_RED, "ERROR: Your to far from airport gates!"); return 1; }
but the thing is, you could be any where to do /fltest, but they gota be by the airport gates to do /fltest..
Meaning.. somethings wrong with the code..