Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Pawn Scripting [Pawn] Problem with a fuel system when car respawn ...

 
  • 0 Vote(s) - 0 Average
Pawn Problem with a fuel system when car respawn ...
DaZzY
Offline

Burgershot Member
Posts: 74
Threads: 12
Joined: Oct 2020
Reputation: 2
#1
2020-10-24, 11:19 PM (This post was last modified: 2020-10-24, 11:29 PM by DaZzY.)
Hello , 

I make a fuel system on my GM 

but i get a little problem when a vehicle unoccuppied respawn the fuel do not reset 

example when player leave a car with  40 % of fuel and car respawn so car not respawn with 100 % of fuel ...

I don't know how to solve that

what a callback i must to use ?
Kwarde
Offline

Burgershot Member
Posts: 99
Threads: 2
Joined: Sep 2020
Reputation: 8
Location: The Netherlands
#2
2020-10-25, 02:08 AM
OnVehicleSpawn() https://wiki.open.mp/docs/scripting/callbacks/OnVehicleSpawn
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode