20.07.2013, 14:51
Bom pessoal ja arrumei uns errors com a new's , quando eu arrumo um aparece outro ,agora tem esse aqui
Como estб a new
Ja tentei [MAX_PLAYERS] nгo funfo ...
Linha
Errors :
Stock
Como estб a new
pawn Код:
new RemoveNeon;
Linha
pawn Код:
RemoveNeon(Player[playerid][VehicleCreated]);
pawn Код:
error 012: invalid function call, not a valid address
warning 215: expression has no effect
error 001: expected token: ";", but found ")"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
pawn Код:
stock RemoveNeon(playerid)
{
new vid = GetPlayerVehicleID(playerid);
VehicleInfo[vid][NeonStatus] = false;
DestroyObject(VehicleInfo[vid][Neon][0]);
DestroyObject(VehicleInfo[vid][Neon][1]);
DestroyObject(VehicleInfo[vid][Neon][2]);
DestroyObject(VehicleInfo[vid][Neon][3]);
DestroyObject(VehicleInfo[vid][Neon][4]);
DestroyObject(VehicleInfo[vid][Neon][5]);
DestroyObject(VehicleInfo[vid][Neon][6]);
DestroyObject(VehicleInfo[vid][Neon][7]);
DestroyObject(VehicleInfo[vid][Neon][8]);
DestroyObject(VehicleInfo[vid][Neon][9]);
DestroyObject(VehicleInfo[vid][Neon][10]);
DestroyObject(VehicleInfo[vid][Neon][11]);
VehicleInfo[vid][Neon][0] = 0;
VehicleInfo[vid][Neon][1] = 0;
VehicleInfo[vid][Neon][2] = 0;
VehicleInfo[vid][Neon][3] = 0;
VehicleInfo[vid][Neon][4] = 0;
VehicleInfo[vid][Neon][5] = 0;
VehicleInfo[vid][Neon][6] = 0;
VehicleInfo[vid][Neon][7] = 0;
VehicleInfo[vid][Neon][8] = 0;
VehicleInfo[vid][Neon][9] = 0;
VehicleInfo[vid][Neon][10] = 0;
VehicleInfo[vid][Neon][11] = 0;
}