27.11.2009, 23:50
Im kind of a Nub Scripter and need some help
I have a Chuck of code that I want to change
This is from the SAGC Roleplay GM
I want to make the Text Stop Flashing for the Fuel %
I know it is caused by the Style 5 Text
But When i Change it to Style 4 It Changes the position of the Text from at the bottom Centre to the Top Centre
If you can help me out by telling me how to Change the position or can Make a Different Looking Fuel gague
that would be awesome
Here is the chunck of code
I have a Chuck of code that I want to change
This is from the SAGC Roleplay GM
I want to make the Text Stop Flashing for the Fuel %
I know it is caused by the Style 5 Text
But When i Change it to Style 4 It Changes the position of the Text from at the bottom Centre to the Top Centre
If you can help me out by telling me how to Change the position or can Make a Different Looking Fuel gague
that would be awesome
Here is the chunck of code
Код:
if(ShowFuel[i] && GetPlayerState(i) == PLAYER_STATE_DRIVER) { new form[128]; new vehicle = GetPlayerVehicleID(i); if(!OutOfFuel[i]) { if(Fuel[vehicle] <= 10) { if(EngineStatus[vehicle]) { format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Engine running~n~~w~Fuel:~g~ %d%~n~~r~Low Fuel",Fuel[vehicle]); GameTextForPlayer(i,form,99999999999,4); } else { format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Engine not running~n~~w~Fuel:~g~ %d%~n~~r~Low Fuel",Fuel[vehicle]); GameTextForPlayer(i,form,99999999999,5); } } else { if(EngineStatus[vehicle]) { format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Engine running~n~~w~Fuel:~g~ %d%",Fuel[vehicle]); GameTextForPlayer(i,form,99999999999,5); } else { format(form, sizeof(form), "~w~~n~~n~~n~~n~~n~~n~~y~Engine not running~n~~w~Fuel:~g~ %d%",Fuel[vehicle]); GameTextForPlayer(i,form,99999999999,5); } } } }