clark17
Member
Hi,
I'm trying to display an short message when a player spawn (new spawn only.
I take a look at the Halo Jump on Spawn -> http://opendayz.net/threads/halo-jump-on-spawn-tutorial.9344/ to inspire me.
So, I've add this line at the end of "dayz_mission\init.sqf":
Unfortunately it don't work...
Any help is appreciated ;-)
I'm trying to display an short message when a player spawn (new spawn only.
I take a look at the Halo Jump on Spawn -> http://opendayz.net/threads/halo-jump-on-spawn-tutorial.9344/ to inspire me.
So, I've add this line at the end of "dayz_mission\init.sqf":
Code:
if (!isDedicated) then {
[] spawn {
waitUntil { !isNil ("dayz_Totalzedscheck") and !(player getVariable ["humanity",0] > 5000 and typeOf player == "Survivor2_DZ") and !(player getVariable ["humanity",0] < -2000 and (typeOf player == "Survivor2_DZ" or typeOf player == "SurvivorW2_DZ") ) and !(player getVariable ["humanity",0] > 0 and (typeOf player == "Bandit1_DZ" or typeOf player == "BanditW1_DZ") ) };
if (dayzPlayerLogin2 select 2) then
{
hintsilent "Player Found! Running Script!";
sleep 10;
hintsilent "message test!";
};
};
};
Unfortunately it don't work...
Any help is appreciated ;-)