08.10.2010, 18:10
(
Последний раз редактировалось Unte99; 09.10.2010 в 00:27.
)
Hi all,
I was making a panel for my gamemode. Everything went well ti'll i begun with the gass part. It is in gametext, but i tried to make it into textdraw. In one moment i thought that i figured it out, but no luck. When i went to try out if i fixed it, the gass would just be still, when i was driving a car. It wouldn't change the numbers at all. If i would want to see the correct numbers, i would need to get out of the car and go back to it. Then the numbers would change, but still it freezes and no reaction. There were no errors and no warnings in the script when i edited it. Here's the script:
Everything was fine, but the gass part won't fix even if i bump my head to the wall.
Thanks in advance for any help.
Screenshot:
I was making a panel for my gamemode. Everything went well ti'll i begun with the gass part. It is in gametext, but i tried to make it into textdraw. In one moment i thought that i figured it out, but no luck. When i went to try out if i fixed it, the gass would just be still, when i was driving a car. It wouldn't change the numbers at all. If i would want to see the correct numbers, i would need to get out of the car and go back to it. Then the numbers would change, but still it freezes and no reaction. There were no errors and no warnings in the script when i edited it. Here's the script:
Код:
new msg[256]; if(entered) { format(msg,255,"~n~~n~~n~~n~ %s ~n~~r~ Fuel:~w~ %i L",aVehicleNames[GetVehicleModel(vehicleid)-400],vehicleDB[vehicleid][gas]); }else{ format(msg,255,"~n~~n~~n~~n~~n~~r~ Fuel:~w~ %i L",vehicleDB[vehicleid][gas]); } GameTextForPlayer(playerid,msg,3000,5); }
Thanks in advance for any help.
Screenshot:
