[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
#2

Oh and my server IP is.. 127.0.0.1:7777 can players still see it in Internet servers or do i have to do something?
Reply
#3

1. Just do (999 * 999) as respawn time. I think no server will be on as long as that.

2. Download a filterscript from the Filterscript Category. There are a lot.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)