24.04.2011, 08:07
Hello guys
I get this error:
For this line:
And this is the BannedVehicles argument:
Could someone help me fix the problem?
Thanks
I get this error:
PHP Code:
error 029: invalid expression, assumed zero
PHP Code:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == BannedVehicles[]) return SendClientMessage(playerid,COLOR_WARNING,"Warning: You are not allowed to teleport with that vehicle!");
PHP Code:
new BannedVehicles[83] =
{403,406,407,408,414,416,417,423,425,427,428,430,431,432,433,435,437,
443,446,447,449,450,452,453,454,455,456,464,464,465,469,472,473,476,
484,486,487,488,493,497,498,499,501,508,511,512,513,514,515,519,520,
524,525,528,532,537,538,544,548,552,553,563,564,569,570,573,577,578,
582,584,588,590,591,592,593,594,595,601,606,607,608,610,611};
Thanks