Pls Help
#1

i can't speak good english but i think you will understand

i have one problem i want to one or multiple vehicles will not respawn on respawn time and when server starts set vehicle position last position he was

can anyone help? :S
Reply
#2

up plas helpp :S
Reply
#3

First, create an enum for car information and variables.
pawn Код:
enum vInfo
{
    Float: vPos_X,
    Float: vPos_Y,
    Float: vPos_Z,
    Float: vRot_A
};
new VehicleInfo[MAX_VEHICLES][vInfo]; // Make sure to put #define MAX_VEHICLES 500 at the top of your script. You can change 500 to whatever you want.
Then you can create a command, called /park. You will have to make sure he is in an owned vehicle, make sure it's his vehicle, and then set the X, Y, Z, and A to the cars current position. A is the Angle. Then when he connects, you set his vehicle to load, by creating a function for loading player vehicles.
Reply
#4

i already have that cmd on ownable vehicles i want make cmd for faction vehciles, not cmd it mus only autosave pos :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)