Help Please...
#1

I want to put neon in all cars and it should be permenent.Blue colour neon.Can anyone give me the code Please?
Reply
#2

What do I know .... Idee on how to do that.

Under OnGameInit >> Loop through all cars >> Neon attach code.
Reply
#3

i need that code and where i should put?
Reply
#4

Where you want the loop (eg. When player connects, OnPlayerConnect).
pawn Код:
for(new i=1; i<MAX_VEHICLES; i++)
{
    // Insert here the neon code. I have apsolutely no ideea how you want it.
}
Reply
#5

i want all cars have neon it should not go when the server restart or respawn all cars.Thats all , for that where i should put this?
Reply
#6

Try this basic code:
pawn Код:
public OnVehicleSpawn(vehicleid)
{
    AttachObjectToVehicle( CreateObject(18648,0,0,0,0,0,0), vehicleid, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    AttachObjectToVehicle( CreateObject(18648,0,0,0,0,0,0), vehicleid, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
    return 1;
}
Reply
#7

yes i did but it isnt working.. please help me
Reply
#8

help plz
Reply


Forum Jump:


Users browsing this thread: