Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward GorivoTimer();
- public GorivoTimer()
- {
- for(new i = 0; i < MAX_PLAYERS; i++)
- {
- new vid = GetPlayerVehicleID(i);
- if(IsBicycle(vid)) return 1;
- if(IsPlayerInAnyVehicle(i) && GetPlayerState(i) == PLAYER_STATE_DRIVER && uVozilu[i] == true)
- {
- fuel[vid] = fuel[vid] -1.000000;
- PlayerTextDrawDestroy(i,BRZINOMJER6[i]);
- BRZINOMJER6[i] = CreatePlayerTextDraw(i, fuel[vid], 418.000000, "_");
- PlayerTextDrawLetterSize(i,BRZINOMJER6[i], 0.389999, 0.199999);
- PlayerTextDrawUseBox(i,BRZINOMJER6[i], 1);
- PlayerTextDrawBoxColor(i,BRZINOMJER6[i], -6749953);
- PlayerTextDrawTextSize(i,BRZINOMJER6[i], 538.000000, 1.000000);
- PlayerTextDrawShow(i,BRZINOMJER6[i]);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement