11.08.2014, 22:09
i added this to my /engine command, you think it will work?
Код:
if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVVeh]) { SendClientMessage(playerid, COLOR_GREEN, " You don't have the keys of this vehicle."); } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pBVeh]) { SendClientMessage(playerid, COLOR_GREEN, " You don't have the keys of this vehicle."); } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pVeh]) { SendClientMessage(playerid, COLOR_GREEN, " You don't have the keys of this vehicle."); } return 1; }