SA-MP Forums Archive
[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 
enginelightsalarmdoorsbonnetbootobjective;
GetVehicleParamsEx(caridenginelightsalarmdoorsbonnetbootobjective);
SetVehicleParamsEx(caridenginelightsalarmdoorsbonnetbootobjective); 
Os parametros de ON ou OFF sгo:

PHP код:
VEHICLE_PARAMS_ON
VEHICLE_PARAMS_OFF 
Carro ligado:

PHP код:
SetVehicleParamsEx(caridVEHICLE_PARAMS_ONlightsalarmdoorsbonnetbootobjective); 
Desligado:

PHP код:
SetVehicleParamsEx(caridVEHICLE_PARAMS_OFFlightsalarmdoorsbonnetbootobjective); 
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.