Engine always on?
#1

How to set every car's engine to off when starting the server?
edit: 0.3c compatible
Reply
#2

Try here:

https://sampwiki.blast.hk/wiki/SetVehicleParamsEx

Peace...
Reply
#3

Quote:
Originally Posted by Stigg
Посмотреть сообщение
That's about setting vehicle parameters not about the thing that I'm asking...


off topic: what the fuck is with that "peace" at the end of every reply... it's stupid..<.<
Reply
#4

Your question:

How to set every car's engine to off when starting the server?
edit: 0.3c compatible

My answer:

SetVehicleParamsEx

engine Toggle the engine status on or off.

I dont see a problem.

Off topic: That my business m8.

Peace...
Reply
#5

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Your question:

How to set every car's engine to off when starting the server?
edit: 0.3c compatible

My answer:

SetVehicleParamsEx

engine Toggle the engine status on or off.

I dont see a problem.

Off topic: That my business m8.

Peace...
your reply is just posthunting, you're not even helping...<.<
Reply
#6

ManualVehicleEngineAndLights(); in OnGameModeInit if I remember it right.
https://sampwiki.blast.hk/wiki/ManualVehicleEngineAndLights
Reply
#7

Quote:
Originally Posted by Parrot
Посмотреть сообщение
ManualVehicleEngineAndLights(); in GameModeInit if I remember it right.
and it creates some bug, when you enter your vehicle, and type /engine to turn it on(it's 0.3c compatible) it says you turned your engine off, and you still can't drive..
Reply
#8

Listen m8, i gave you the link because thats how i set my vehicles on my server. I works great.
If it dont help, no need to get personal and do a search yourself.

Peace...
Reply
#9

Works just fine for me. Post the code which is buggy for you so we can help you.
Reply
#10

for(new i = 0; i < MAX_VEHICLES; i++)
{
if(GetVehicleModel(i) != 481)//BMX
{
new engine,lights,alarm,doors,bonnet,boot,objective;
SetVehicleParamsEx(i,0,lights,alarm,doors,bonnet,b oot,objective);
}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)