Jump to content
  • 0

Anti kill SafeZone



2 answers to this question

Recommended Posts

  • 0

Pune asta la Public Onplayerketstatechange

if(newkeys & KEY_FIRE || (newkeys & KEY_SPRINT && newkeys & KEY_SECONDARY_ATTACK) || (newkeys & 128  && newkeys & 16) || (newkeys & KEY_SPRINT && newkeys & KEY_FIRE ))
				ShowPlayerDialog(playerid,1233, DIALOG_STYLE_MSGBOX, "Avertizare Anti-DM","{228B22}Safe Zone - {FFFFFF} Administratia interzice bataile sau focurile de arma in acest loc!", "Inchide", "");
				return true;

Si la sfarsitul gm-ului pune stock-ul urmator.

stock IsAAntidm(playerid)
	if(PlayerToPoint(30.0,playerid,x,y,z)) { return true; } // Unde x,y,z sunt coordonatele unde nu vrei sa se faca dm.
	return false;

Respect acestei comunitati, dar mai presus respect membrilor ei !

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.