Hey my community german !
I put you in the context:
" For example if I hold up a bank, the variable ingot increases 20 and the individual who in aimed can take ingots but there is that he because for all the others the variable ingot is 0 "
Roughly I have the impression that the variable ingot is local (exchange that for only a player) while I defined well this variable in the init.sqf (core/)
Code
#include "..\script_macros.hpp"
/*
File: init.sqf
Author:
Description:
Master client initialization file
*/
private["_handle","_timeStamp","_server_isReady","_extDB_notLoaded"];
lingot = 0 ;
if (life_HC_isActive) then {
_server_isReady = life_HC_server_isReady;
_extDB_notLoaded = life_HC_server_extDB_notLoaded;
} else {
Alles anzeigen
addaction :
_individu = count nearestObjects [_coffre, ["Man"], 7] ;
lingot = _individu * 20 ;
Can you help me ?
Peace family beer