AHMAD1234 Posted September 16, 2013 Share Posted September 16, 2013 لاif ... then لازم تحط الشرط + end Link to comment
#DRAGON!FIRE Posted September 16, 2013 Share Posted September 16, 2013 (edited) زي كذا ؟ function DSSAS( theAttacker, theWeapon ) getElementData(theAttacker, "XXX") if theWeapon == 0 then killPed ( source, theAttacker, theWeapon ) end end addEventHandler ( "onPlayerDamage", root,DSSAS) # يقصدد تابل # لأزم تحقق من المنت داتا وتحط الشرط كذا بدون شي م يصير كذا يعني if getElementData(theAttacker, "XXX") then # او لو حاط لها قيمة للداتا نفسها ترو او فلس تسهل لك وتفهمها انها ترو صح موجودة , او فلس مو موجودةة Edited September 11, 2014 by Guest Link to comment
M7mD-911 Posted September 16, 2013 Author Share Posted September 16, 2013 زي كذا ؟ edit: function DSSAS( theAttacker, theWeapon ) if getElementData(theAttacker, "XXX") then if theWeapon == 0 then killPed ( source, theAttacker, theWeapon ) end end end addEventHandler ( "onPlayerDamage", root,DSSAS) ..كذآ..؟ والكلنت كذآ...؟ if source == GUIEditor_Button[6] then setElementData(localPlayer, "XXX", true) end Link to comment
M7mD-911 Posted September 16, 2013 Author Share Posted September 16, 2013 مششكورين , جآآري التججربة ... Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now