maxx2504 10 Posted November 5, 2011 Hi ! How can i set a respawn point for the players ? And my chatsystem dont work on the Server. Any suggestions ? :) maxx Share this post Link to post Share on other sites
Warts 10 Posted November 5, 2011 http://forums.bistudio.com/showthread.php?t=126880 Share this post Link to post Share on other sites
maxx2504 10 Posted November 5, 2011 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 Share this post Link to post Share on other sites
scarp 10 Posted November 5, 2011 open notepad and paste: // Raunis vehispawn 1.0private ["_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; }; }; }; Save it as vehspawn.sqf <- NB! Very important that you save it as a *.sqf file and not as a ordinary text file. And it should be placed in your mission folder (folder containing your mission) Share this post Link to post Share on other sites
maxx2504 10 Posted November 5, 2011 Hi ! thanks. works good. is there any chance to change the ammo of the ammo trucks to unlimited ? maxx Share this post Link to post Share on other sites