maraciukka Posted April 18, 2015 Report Share Posted April 18, 2015 Salut, cine ma poate ajuta si pe mine cu un fs/script anti kill safezone? Quote Y!M: [email protected] Link to comment Share on other sites More sharing options...
0 Ath9 Posted April 18, 2015 Report Share Posted April 18, 2015 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 )) { if(IsAAntidm(playerid)) { if(!IsPlayerInAnyVehicle(playerid)) { ShowPlayerDialog(playerid,1233, DIALOG_STYLE_MSGBOX, "Avertizare Anti-DM","{228B22}Safe Zone - {FFFFFF} Administratia interzice bataile sau focurile de arma in acest loc!", "Inchide", ""); ApplyAnimation(playerid,"PED","IDLE_tired",4.1,0,1,1,0,4000,1); 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; } Quote Respect acestei comunitati, dar mai presus respect membrilor ei ! Link to comment Share on other sites More sharing options...
0 maraciukka Posted April 19, 2015 Author Report Share Posted April 19, 2015 Multumesc, mi-a fost de ajutor ! Quote Y!M: [email protected] Link to comment Share on other sites More sharing options...
Question
maraciukka
Salut, cine ma poate ajuta si pe mine cu un fs/script anti kill safezone?
Y!M: [email protected]
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.