21.01.2010, 14:00
hello guys, i need your help i use Vortex RP Script and when i want to add a engine system(from LARP) i have this :
everythings ok no errors, when i go in-game it writes me "use ALT" but dosen't froze me... whats the prob.?
Код:
public Startup(playerid, vehicleid) { new pveh = GetVehicleModel(GetPlayerVehicleID(playerid)); new newcar = GetPlayerVehicleID(playerid); if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER || engineOn[vehicleid]) { //I do nothing! } else if(IsPlayerInAnyVehicle(playerid) && !engineOn[vehicleid] && !vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && pveh != 510 && pveh != 462 && newcar != 59 && newcar != 60) { SendClientMessage(playerid, COLOR_RED, "use ALT"); TogglePlayerControllable(playerid,false); vehicleEntered[playerid][vehicleid] = true; } else if(IsPlayerInAnyVehicle(playerid) && !engineOn[vehicleid] && vehicleEntered[playerid][vehicleid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && pveh != 510 && pveh != 462 && newcar != 59 && newcar != 60) { SendClientMessage(playerid, COLOR_RED, "use ALT"); TogglePlayerControllable(playerid,false); } }