Hi !
How can i set a respawn point for the players ? And my chatsystem dont work on the Server.
Any suggestions ?
maxx
Hi !
How can i set a respawn point for the players ? And my chatsystem dont work on the Server.
Any suggestions ?
maxx
Hi !
I have another problem. I found a guide to respawn vehicle but it dont work. What text must i use for the vehicle.sqf ??? Are there any german players who can help ? im getting sick of english -.-
maxx
open notepad and paste:
Save it as vehspawn.sqf <- NB! Very important that you save it as a *.sqf file and not as a ordinary text file.// Raunis vehispawn 1.0
private ["_vehicle", "_delay", "_startpos", "_startdir", "_type", "_disabled", "_empty"];
if (!isServer) exitWith{};
_vehicle = _this select 0;
_delay = _this select 1;
_startpos = getpos _vehicle;
_startdir = getdir _vehicle;
_type = typeof _vehicle;
while {true} do {
sleep (_delay + random 15);
if (({alive _x} count (crew _vehicle)) == 0) then {
_disabled = (if (damage _vehicle > 0.9) then {true} else {false});
if (_disabled || !(alive _vehicle)) then {
deletevehicle _vehicle;
sleep 0.5;
_vehicle = _type createvehicle _startpos;
_vehicle setpos _startpos;
_vehicle setdir _startdir;
};
};
};
And it should be placed in your mission folder (folder containing your mission)
Hi !
thanks. works good. is there any chance to change the ammo of the ammo trucks to unlimited ?
maxx