29.01.2016, 19:43
Код:
stock CheckChave(playerid, vehicleid) { new mot, lu, alar, por, cap, porma, ob; GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob); } if (IsAAztecaCar(carid) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo й dos Varriors Los Aztecas, por isso nгo tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); return 1; } } else if(IsACopCar(vehicleid) || IsAPRCar(vehicleid) || IsABOPEsCar(vehicleid) || IsAPFCar(vehicleid) || IsAPCCar(vehicleid) || IsAGATCar(vehicleid))} { if(!IsACopFCar(playerid)) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "Vocк nгo й um Policial, por isso nгo tem a chave desse veiculo!"); SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob); return 1; } }