Jump to content

مساعدة


Aymane

Recommended Posts

Posted
Quote

local playerHealth = getElementHealth(thePlayer)
if (playerHealth < 20) then
setPedAnimation(thePlayer,"ped","fall_back")
end

 

اين هوا خطا يا شباب انا مبتدء في برمجة

Posted
58 minutes ago, Aymane said:

اين هوا خطا يا شباب انا مبتدء في برمجة

thePlayer  مو معرف في الكود

 

سقطت تفاحة واحدة ففهم الأنسان معنى الجاذبية

سقطت الملايين من الجثث ولم يفهم الأنسان معنى الأنسانية

===========

One apple fell and people understood Gravity

Millions of bodies fell and people did not understand the meaning of humanity

Spoiler

SOCIAL MEDIA / التواصل الإجتماعي

~[ p_8157bqso1.png SnapChat : xry-n .  ]~

~[ p_815kbq0c2.png 0506748951 . ]~

 

Posted
Just now, Aymane said:

كيف اعرفه

اعطيني الكود كامل

سقطت تفاحة واحدة ففهم الأنسان معنى الجاذبية

سقطت الملايين من الجثث ولم يفهم الأنسان معنى الأنسانية

===========

One apple fell and people understood Gravity

Millions of bodies fell and people did not understand the meaning of humanity

Spoiler

SOCIAL MEDIA / التواصل الإجتماعي

~[ p_8157bqso1.png SnapChat : xry-n .  ]~

~[ p_815kbq0c2.png 0506748951 . ]~

 

  • 3 months later...
Posted (edited)
On 17/01/2019 at 20:19, Aymane said:

اين هوا خطا يا شباب انا مبتدء في برمجة

لو انك تعرفه او انك تستبدله كذا

function health( )
    thePlayer = source
  	if getElementHealth( thePlayer ) <= 20 then
   		 setPedAnimation(thePlayer,"ped","fall_back")
    end
end

--- or

function health( )
  	if getElementHealth( source ) <= 20 then
   		 setPedAnimation(source,"ped","fall_back")
    end
end

 

Edited by JustP
Posted
On 17/01/2019 at 21:27, Aymane said:

كيف اعرفه

addEventHandler( "onPlayerDamage", root,
function ( )
	if getElementHealth( source ) <= 20 then
		setPedAnimation(thePlayer,"ped","fall_back")
    end
end
)
  

 

Posted
2 hours ago, +Source|> said:

addEventHandler( "onPlayerDamage", root,
function ( )
	if getElementHealth( source ) <= 20 then
		setPedAnimation(thePlayer,"ped","fall_back")
    end
end
)
  

 

راجع كودك

  • Like 2

[ Skype : kreee89 - Discord : Abdul_KariM#1326 / طلبات البرمجة

https://www.paypal.me/AbdulKariMx / اذا حاب تدعمني

Posted

function (player)
	if getElementHealth( player ) <= 20 then
		setPedAnimation(player,"ped","fall_back")
    end
end

  

..

 

Discord : ♔ - DmaR, < 3#3998

Posted
35 minutes ago, DmAr511 said:

..

خلاص الموضوع قديم ولسه تعطو اكواد خاطئة 

من أراد الفشل عليه بالنجاح

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...