addEvent( "ss", true )
addEventHandler( "ss", root,
function (player,type)
if isElement(player)then
if type then
if type==1 then
local plhel=getElementHealth(player)
if plhel >= 100 then outputChatBox('Your Health is 100',player) return end
setPlayerHealth(player,plhel+10)
elseif type==2 then
local plrarm=getPedArmor(player)
if plrarm >= 100 then outputChatBox('Your Armor is 100',player) return end
setPedArmor(player,plrarm+10)
end
end
else
outputChatBox('Type at argument 1 got nil',player)
end
else
outputChatBox('Player at argument 1 got nil',player)
end
)
وهي طويله كتيير انا اريدها قصيره مت ل الدم فوق