Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
When run in the debug environment you have to run it on ALL machines. The way ArmA 3 does "multiplayer" it uses something called a client-server architecture, this means the way everything is handled has a "execution scope" this scope defines where the script, function or file will be run if you want this on all players at mission start and only run on players and not the server you can do the following.
Put that code into the init.sqf and then put
Bare in mind to add more to this you need to run a check if the player is near the safe zone by adding an if condition and checking the distance between your safe zone and the player if it is below a certain threshold then enable it if it is above it, then disable it. This then will make any player that attempts to throw a grenade not able to throw it.