28.01.2009, 18:37
Vehicle-Spawn-Creator, VSC for short, is a very small include which creates a vehicle spawn for a bike, plane, bike or car. After ervery vehiclespawn the vehicleґs model and color change (but a car still be a car, a bike still be a bike...).
Why?
(This is not a command vehicle creator, like /veh [model] [color1] [color2]!)
Its for use in Stunt/Freeroam servers and its faster to create cars this way because of the smaller functions (you dont need to add the model, colors and respawn anymore). I thought it would be useful for beginners or lazy peoples.
Setup:
1.Under OnGameModeINIt or OnFilterScriptInit:
ADD "createcarspawn_OnGameModeInit();"
Ex:
2.Under OnVehicleSpawn:
ADD "createcarspawn_OnVehicleSpawn(vehicleid);"
Ex:
3.Add your vehicle spawns, AFTER "createcarspawn_OnGameModeInit();" in OnGameModeInit.
Available functions:
Ex:
Download: http://pawn.pastebin.com/f2ca52f8d
This is my first released stuff here, so dont blame me for making crap...
You can edit it, upload it put it in your scripts without credits.
If its crap, feed your Windows with it.
Why?
(This is not a command vehicle creator, like /veh [model] [color1] [color2]!)
Its for use in Stunt/Freeroam servers and its faster to create cars this way because of the smaller functions (you dont need to add the model, colors and respawn anymore). I thought it would be useful for beginners or lazy peoples.
Setup:
1.Under OnGameModeINIt or OnFilterScriptInit:
ADD "createcarspawn_OnGameModeInit();"
Ex:
Код:
public OnGameModeInit() { createcarspawn_OnGameModeInit(); return 1; }
ADD "createcarspawn_OnVehicleSpawn(vehicleid);"
Ex:
Код:
public OnVehicleSpawn(vehicleid) { createcarspawn_OnVehicleSpawn(vehicleid); return 1; }
Available functions:
Код:
CreateCarSpawn(x,y,z,zangle); CreatePlanSpawn(x,y,z,zangle); CreateBikeSpawn(x,y,z,zangle); CreateBoatSpawn(x,y,z,zangle); CreateHeliSpawn(x,y,z,zangle);
Код:
public OnGameModeInit() { createcarspawn_OnGameModeInit(); CreateCarSpawn(-2252.1470,2303.0017,4.8125,88.1217); CreateCarSpawn(-2251.0171,2311.9460,4.8125,88.1217); CreateCarSpawn(-2251.4263,2327.0388,4.8125,88.1217); CreateHeliSpawn(-2270.3491,2310.8164,4.8202,165.2025); //other cars //you can still ad CreateVehicle ofc CreateVehicle(...); return 1; }
This is my first released stuff here, so dont blame me for making crap...
You can edit it, upload it put it in your scripts without credits.
If its crap, feed your Windows with it.