[Ajuda] Gamemode - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Gamemode (
/showthread.php?tid=583088)
Gamemode -
Andelux - 25.07.2015
Estou com a gamemode Brasil total RPG, alguem sabe como retirar o sistema de igniзгo ?
Re: Gamemode -
Cleyson - 25.07.2015
Todo sistema de igniзгo й baseado nesse cуdigo:
PHP код:
new carid = GetPlayerVehicleID(playerid);
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(carid, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(carid, engine, lights, alarm, doors, bonnet, boot, objective);
Os parametros de ON ou OFF sгo:
PHP код:
VEHICLE_PARAMS_ON
VEHICLE_PARAMS_OFF
Carro ligado:
PHP код:
SetVehicleParamsEx(carid, VEHICLE_PARAMS_ON, lights, alarm, doors, bonnet, boot, objective);
Desligado:
PHP код:
SetVehicleParamsEx(carid, VEHICLE_PARAMS_OFF, lights, alarm, doors, bonnet, boot, objective);
Se concentrando nisso vocк consegue entender oque deve remover..
Re: Gamemode -
bruxo00 - 25.07.2015
Se vocк quer que o carro ligue mal vocк entre й sу remover
PHP код:
ManualVehicleEngineAndLights();
...do GM.