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
Example NOT TESTED:
private _isMultiplayer = false;
if (isMultiplayer == true) then {
while {true} do {call fnc_destroy_veh;};
};
You have to create a function named "fnc_destroy_veh" like this:
I'm sorry about code typing errors, but the idea here is give you a north to follow.
PS> You have to define something to triger the function. I'll use the eventHandler "getinman" to trigger my function and explode the vehicle killing the player who desrespect the rules. LOL
Best Regards from Brazil.