hello iam trying to do a vehicle blacklist which is working but i also want it to display it in globalchat.
blacklist.sqf
this does work it ejects me but then it kicks me i cant get it to display in globalchat now this code did work on the 1.7.4.4 but since i upgraded my server to 1.7.5.1 i guess it broke it.
here is my log file
my publicvariable.txt
blacklist.sqf
Code:
private["_inVehicle","_isVehicle"];
while {true} do {
_inVehicle = (vehicle player != player);
_isVehicle = vehicle player;
if (isServer) then {
_axet = Creategroup sideLogic;
themhacks = _axet createUnit ["Survivor2_DZ",[-2500,0,0], [], 0, "NONE"];
publicVariable "themhacks";
};
func_whohacks = {
private ["_message"];
_message = (_this select 0);
[nil, nil, rSPAWN, [themhacks,_message], { (_this select 0) globalChat (_this select 1) }] call RE;
};
if (_inVehicle && (vehicle player) iskindof "Su34") then {
_isVehicle lock false;
sleep .1;
player action ["eject", _isVehicle];
message = format["%1 was trying to enter a blacklisted vehicle", name player];
[message] call func_whohacks;
};
sleep 1;
};
this does work it ejects me but then it kicks me i cant get it to display in globalchat now this code did work on the 1.7.4.4 but since i upgraded my server to 1.7.5.1 i guess it broke it.
here is my log file
Code:
Value Restriction #22 "remExField" = [,,"spawn",[,"i did it for the lulz was trying to enter a blacklisted vehicle"],{ (_this select 0) globalChat (_this select 1) }]
08.02.2013 23:04:43: i did it for the lulz (10.0.0.32:2316) f951d448eebd205c7b9e51fa5013a97b - Value Restriction #33 "remExField" = [,,"spawn",[,"i did it for the lulz was trying to enter a blacklisted vehicle"],{ (_this select 0) globalChat (_this select 1) }]
08.02.2013 23:04:43: i did it for the lulz (10.0.0.32:2316) f951d448eebd205c7b9e51fa5013a97b - Value Restriction #34 "remExField" = [,,"spawn",[,"i did it for the lulz was trying to enter a blacklisted vehicle"],{ (_this select 0) globalChat (_this select 1) }]
08.02.2013 23:04:43: i did it for the lulz (10.0.0.32:2316) f951d448eebd205c7b9e51fa5013a97b - Value Restriction #35 "remExField" = [,,"spawn",[,"i did it for the lulz was trying to enter a blacklisted vehicle"],{ (_this select 0) globalChat (_this select 1) }]
08.02.2013 23:04:43: i did it for the lulz (10.0.0.32:2316) f951d448eebd205c7b9e51fa5013a97b - Value Restriction #52 "remExField" = [,,"spawn",[,"i did it for the lulz was trying to enter a blacklisted vehicle"],{ (_this select 0) globalChat (_this select 1) }]
my publicvariable.txt
Code:
1 "" !="drn_AskServerDynamicWeatherEventArgs" !="dayzLogin" !="dayzLogin2" !="dayzLoginRecord" !="dayzCharDisco" !="dayzPlayerSave" !="usecBleed" !="dayzHit" !="usecTransfuse" !="usecBandage" !="dayzPlayerMorph" !="usecPainK" !="usecEpi" !="dayzPublishObj" !="dayzRoadFlare" !="dayzDiscoAdd" !="dayzGutBody" !="dayzHideBody" !="dayzDeleteObj" !="dayzUpdateVehicle" !="dayzSetFix" !="dayzHumanity" !="dayzDiscoRem" !="usecMorphine" !="dayzSetFuel" !="dayzFlies" !="changeCharacter" !="dayzSwitch" !="dayzFire" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRALW" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRnoAnim" !="remExField" !="BIS_MPF_logic" !="remExFP" !="dayzDeath" !="player" !="drn_DynamicWeatherEventArgs" !="dayzSetDate" !="rsay" !="rland" !="rsetdir" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack1\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack2\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack3\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack4\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack5\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack6\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack7\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack8\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack9\"]" !="\"remExField\" = [<NULL-object>,<NULL-object>,\"playmove\",\"ZombieStandingAttack10\"]"
5 "teleported"
1 "nil"
1 "true"
1" false"
5 "remExFP"
//1 "remExField"
5 "BIS_MPF_logic"
1 "JIPrequest"
1 "JIPexec"
//1 "dayzDeath"
//1 "player"
1 "alive"
5 "dayzSetDate"
5 "rsay"
5 "rland"
5 "rsetdir"
5 "local_sefFuel"
1 "spawn"
1 "BIS_Effects"
5 "hiveupdateresu"
5 "eh_localCleanup"
5 "vehicle_handleInteract"
5 "server_characterSync"
5 "fnc_buildWeightedArray"
5 "server_hiveWrite"
5 "server_hiveReadWrite"
5 "spawn_heliCrash"
5 "server_getDiff"
5 "server_getDiff2"
5 "dayz_objectUID"
5 "dayz_objectUID2"
5 "dayz_recordLogin"
5 "monkymonitor"
5 "mmonitor"
5 "monky"
5 "rpcCodeVarName"
5 "rpcDirectCall"
5 "broadcastRpcCallAll"
5 "broadcastRpcCallIfLocal"
5 "callRpcProcedure"
5 "registerBroadcastRpc"
//1 "norrnRACarUp"
//1 "norrnRAPicUp"
//1 ""