20.04.2011, 17:40
Someone help me please!
I got this error: gamemodes\larp.pwn(75126) : error 010: invalid function or declaration
Thie line is only the "else if" line!
Help please.. Thanks!
I got this error: gamemodes\larp.pwn(75126) : error 010: invalid function or declaration
Код:
if(IsModelABike(GetPlayerVehicleID(playerid))) { SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Remember: Use your Helmet or Else you can get Ticked! (/helmet)"); } else { SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Remember: Use your Seat Belt or Else you can get Ticked! (/belt)"); } } else if(IsPlayerInAnyVehicle(playerid) && !engineOn[vehicleid] && vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && pveh != 510 && pveh != 462 && newcar != 59 && newcar != 60 && !IsAHarvest(newcar) && !IsADrugHarvest(newcar) && !IsASweeper(newcar)) { SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Attention! Type /engine or press SHIFT to start your engine!"); TogglePlayerControllable(playerid, false); SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Drive Carefully!"); SendClientMessage(playerid, COLOR_LIGHT_BLUE, "Remember: Use your Seatbelt/Helmet or Else you can get Ticked! (/belt)"); } }
Help please.. Thanks!