[Help]Couple of questions
#1

Hello

I'm scripting a gamemode and i want to know a couple of things about scripting it...

1. How do i make a car never spawn again after using "CreateVehicle" ?
Mine is like this: CreateVehicle(400, X-3, Y, Z, Angle, -1, -1, -1);
The last "-1" should make the vehicle never spawn again, but still it does.


2. How do i make the vehicle ID and it color depends on what the player will chose in game?
Ex. "/Cvehicle 500 1 1" This should spawn a jeep(I think) with the color white.
I can't just use OnPlayerCommandText .. /cvehicle 500 1 1 .. /cvehicle 501 1 1.. etc for all models and colors.


Please help a newbie, Thanks in advance

P.S: First post.
Reply


Messages In This Thread
[Help]Couple of questions - by Crashty - 15.07.2010, 16:37
Re: [Help]Couple of questions - by Crashty - 15.07.2010, 16:44
Re: [Help]Couple of questions - by RyDeR` - 15.07.2010, 16:47

Forum Jump:


Users browsing this thread: 1 Guest(s)