08.12.2014, 12:48
Why have warning?
warning:
(5203) : warning 211: possibly unintended assignment
Part:
warning:
(5203) : warning 211: possibly unintended assignment
Part:
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(vehicleid = Veh || Veh2 || Veh3 || Veh4 || Veh5 || Veh6 || Veh7 || Veh8 || Veh9 || Veh10 || Veh11)//5203 line { if(PlayerInfo[playerid][pFaction] >= 1) { SendClientMessage(playerid, -1, ""COL_CYAN"*"COL_GREY"Usli ste u sluzbeno vozilo."); } } else { SendClientMessage(playerid, -1, ""COL_CYAN"*"COL_GREY"Ne mozete voziti ovo vozilo jer niste u sluzbi."); RemovePlayerFromVehicle(playerid); } return 1; }