How do you make unlimited nitro?
#1

I am thinking this:

something to do with if the player does KEY_FIRE, and if playerstate is in vehicle set nitro to unlimited... but that's about all i can guess. i am relatively new to pawno.. so if you can be at least somewhat specific, that would be great help. thanks
Reply
#2

im relatively new to pawno too, but I dont think you can make unlimited nitro.
I am 100% sure that you can have no delay between starting nitro again.

Do you mean unlimited tanks? then yes.
they keep going forever? no.
Reply
#3

Thanks antonio, whether its unlimited tanks or unlimited nitro, to me their both the same. do u know how though?
Reply
#4

Sorry, I wouldnt know exactly.

I would think though, that if you create a timer to give them nitro every 5 minutes...

pawn Код:
SetTimer("GiveNitro", 60000, 0);
60000 is 5 minutes I think...

Then the nitro is vehicle component...

pawn Код:
AddVehicleComponent(vehicleid, 1010);
Reply
#5

thanks
Reply
#6

No problem. Sorry i don't knoow how to put it together. Im a nooby scripter.
Reply
#7

lol antonio this would be my first day so that helps more than u think...
Reply
#8

Quote:

60000 is 5 minutes I think...

6000 is 6 minutes. makes sense... anywayse the timer should be like 20 seconds cause the nos runs out alot sooner than 6 minutes
Reply
#9

Whoever is discussing about the time, timers in PAWN are milliseconds,

1000 = 1 second
6000 = 6 seconds
60000 = 1 minute
300000 = 5 minutes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)