i need help with 3 things -
PedoBear - 20.01.2009
well first of all my server lags like ****
and second how to chance areas names
and third how to make Add vehicle command
Re: i need help with 3 things -
Mikep - 20.01.2009
Quote:
Originally Posted by PedoBear
well first of all my server lags like ****
and second how to chance areas names
and third how to make Add vehicle command
|
Get better internet.
What do you mean?
Search for debug
Re: i need help with 3 things -
PedoBear - 20.01.2009
not with debug i mean in-game admin commands
and how can i cahnge some places names
Re: i need help with 3 things -
brett7 - 20.01.2009
use a debug filter script
Re: i need help with 3 things -
f3llah1n - 21.01.2009
Read me
Love me
Simple.
Re: i need help with 3 things -
PedoBear - 21.01.2009
CreateVehicle
AddStaticVehicle
are those same?
Re: i need help with 3 things -
SilentMouse - 21.01.2009
Quote:
Originally Posted by PedoBear
CreateVehicle
AddStaticVehicle
are those same?
|
You can use this function to add vehicles to your gamemode. This function can only create vehicles in the OnGameModeInit callback, and vehicles created with this function cannot be removed. Check CreateVehicle if you are interested in creating vehicles during game-runtime.
Re: i need help with 3 things -
f3llah1n - 21.01.2009
Quote:
Originally Posted by SilentMouse
Quote:
Originally Posted by PedoBear
CreateVehicle
AddStaticVehicle
are those same?
|
You can use this function to add vehicles to your gamemode. This function can only create vehicles in the OnGameModeInit callback, and vehicles created with this function cannot be removed. Check CreateVehicle if you are interested in creating vehicles during game-runtime.
|
^ Just to add to that, AddStaticVehicle was the pre-0.2 command, before object/vehicle/etc streaming.
Re: i need help with 3 things -
PedoBear - 21.01.2009
well i found that
public OnGameModeInit( )
{
// Add a Hydra to the game
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 800);
return 1;
}
do i have to modify it much?
Re: i need help with 3 things -
brett7 - 21.01.2009
Quote:
Originally Posted by PedoBear
well i found that
public OnGameModeInit( )
{
// Add a Hydra to the game
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 800);
return 1;
}
do i have to modify it much?
|
no thats perfect

but i would use addstaticvehicle