30.07.2013, 01:30
Trying to make it that if the player is the driver but he is in vehicles 510,362,381 or 509 this message doesn't appear.
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER && vehicleid != 510 || vehicleid != 462 || vehicleid != 481 || vehicleid != 509);
{
new engine, alarm, bonnet, boot, objective, lights, doors;
GetVehicleParamsEx(vehicleid,engine,lights,alarm,doors,bonnet,boot,objective);
if(engine == VEHICLE_PARAMS_OFF || engine == VEHICLE_PARAMS_UNSET)
{
SendClientMessage(playerid, COLOR_WHITE,"< To turn on the vehicle engine type {800040}/engine{FFFFFF} - to check radio commands type {800040}/radiohelp{FFFFFF} >");
}
}