Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(newkeys & KEY_SUBMISSION)
- {
- if(VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(playerid)))) return 1;
- new engine, lights, alarm, doors, bonnet, boot, objective;
- new i = PlayerInfo[playerid][pPosedovanjeAuta];
- new idveh = GetPlayerVehicleID(playerid);
- GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
- if(GetPlayerVehicleID(playerid) >= vmotosalon[0] && GetPlayerVehicleID(playerid) <= vmotosalon[10]) return SCM(playerid,-1,"TEST:RP | "CRVENA"Ne mozete upaliti motor na izlozbeno vozilo!");
- if(GetPlayerVehicleID(playerid) == IzlozbenoAuto) return SCM(playerid,-1,"TEST:RP | "CRVENA"Ne mozete upaliti motor na izlozbeno vozilo!");
- if(AutoSalonVozila(GetPlayerVehicleID(playerid))) return SCM(playerid,-1,"TEST:RP | "CRVENA"Ne mozete upaliti motor na izlozbeno vozilo!");
- //if(GetPlayerVehicleID(playerid) != VoziloInfo[i][vID]) return SCM(playerid,-1,"[TEST:RP] "CRVENA"Nemate kljuceve ovog vozila!");
- if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
- {
- if(VoziloJeMotor(GetVehicleModel(GetPlayerVehicleID(playerid))))
- {
- if(MotorInfo[idveh][mImaVlasnika] == 1)
- {
- if(MotorInfo[idveh][mID] != MotorInfo[i][mID])
- {
- SCM(playerid,-1,"[TEST:RP] "CRVENA"Nemate kljuceve ovog motora!");
- }
- else if(MotorInfo[idveh][mID] == MotorInfo[i][mID])
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(MotorInfo[idveh][mImaVlasnika] == 0)
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(VoziloJeBrod(GetVehicleModel(GetPlayerVehicleID(playerid))))
- {
- if(PlovilaInfo[idveh][plImaVlasnika] == 1)
- {
- if(PlovilaInfo[idveh][plID] != PlovilaInfo[i][plID])
- {
- SCM(playerid,-1,"[TEST:RP] "CRVENA"Nemate kljuceve ovog plovila!");
- }
- else if(PlovilaInfo[idveh][plID] == PlovilaInfo[i][plID])
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(PlovilaInfo[idveh][plImaVlasnika] == 0)
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(VoziloJeAvion(GetVehicleModel(GetPlayerVehicleID(playerid))))
- {
- if(AvionInfo[idveh][avImaVlasnika] == 1)
- {
- if(AvionInfo[idveh][avID] != AvionInfo[i][avID])
- {
- SCM(playerid,-1,"[TEST:RP] "CRVENA"Nemate kljuceve ove letjelice!");
- }
- else if(AvionInfo[idveh][avID] == AvionInfo[i][avID])
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(AvionInfo[idveh][avImaVlasnika] == 0)
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(VoziloJeKamion(GetVehicleModel(GetPlayerVehicleID(playerid))))
- {
- if(VoziloInfo[idveh][vImaVlasnika] == 1)
- {
- if(VoziloInfo[idveh][vID] != VoziloInfo[i][vID])
- {
- SCM(playerid,-1,"[TEST:RP] "CRVENA"Nemate kljuceve ovog kamiona!");
- }
- else if(VoziloInfo[idveh][vID] == VoziloInfo[i][vID])
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(VoziloInfo[idveh][vImaVlasnika] == 0)
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else
- {
- if(VoziloInfo[idveh][vImaVlasnika] == 1)
- {
- if(VoziloInfo[idveh][vID] != VoziloInfo[i][vID])
- {
- SCM(playerid,-1,"[TEST:RP] "CRVENA"Nemate kljuceve ovog vozila!");
- }
- else if(VoziloInfo[idveh][vID] == VoziloInfo[i][vID])
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- else if(VoziloInfo[idveh][vImaVlasnika] == 0)
- {
- new CmdString[128];
- if(gEngine[playerid] == 1)
- {
- return 1;
- }
- if(Fuel[GetPlayerVehicleID(playerid)] <= 0) return SCM(playerid, -1, "Nemate goriva u vozilu, ne mozete upaliti motor!");
- new Float:HP;
- GetVehicleHealth(GetPlayerVehicleID(playerid), HP);
- if(HP < 400.0) return SCM(playerid, -1, "* Vase vozilo je previse osteceno, ne mozete ga voziti!");
- if(engineOn[GetPlayerVehicleID(playerid)] == false)
- {
- palimotor[playerid]+=1;
- if(palimotor[playerid] == 1)
- {
- //SCM(playerid, -1, "Kako biste popravili ostecenje, pozovite mehanicare komandom /call");
- //SetVehicleParamsEx(GetPlayerVehicleID(playerid), 1, 1, alarm, doors, bonnet, boot, objective);
- format(CmdString, 128, "* %s uzima kljuc vozila i pokusava da upali motor na vozilu.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetTimerEx("StartingTheVehicle",3000,0,"i",playerid);
- GameTextForPlayer(playerid, "~w~Pokretanje motora...",3500,3);
- return 1;
- }
- }
- if(engineOn[GetPlayerVehicleID(playerid)] == true)
- {
- gEngine[playerid] = 0;
- format(CmdString, 128, "* %s gasi motor vozila.", GetName(playerid));
- ProxDetector(10.0, playerid, CmdString, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
- SetVehicleParamsEx(GetPlayerVehicleID(playerid), 0, 0, alarm, doors, bonnet, boot, objective);
- engineOn[GetPlayerVehicleID(playerid)] = false;
- palimotor[playerid] = 0;
- GameTextForPlayer(playerid, " ",3500,3);
- return 1;
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement