Jump to content

General Discussion


Recommended Posts

  • Replies 72
  • Created
  • Last Reply

Top Posters In This Topic

Belehi 7abit nas2el 3la lou8a kasretli rasi, Par example getElementData(source,"Group") ta3tini e Group eli mawjoud fih el Player, itha el Player ma3andouch team kifech na3melha , Jarebt kol chay ma7abes

if (getElementData(source,"Group") == false) then 
if (getElementData(source,"Group") == nil) then 
if (getElementData(source,"Group") ~= true) then 

Link to comment
  • 4 weeks later...

belehi louled chkoun ynajem y3awni fi script mahrous mta3 hospital

function onPlayerWasted(totalAmmo, killer, killerWeapon, bodypart, stealth) 
if not(isGuestAccount(getPlayerAccount(source))) then 
local theWeapon = getPedWeapon (source) 
local weaponAmmo = getPedTotalAmmo (source) 
fadeCamera (source, false) 
setTimer (spawnPlayer, 5000, 1, source, 1177.6804199219, -1323.6899951172, 14.082660675049, 0, getPedSkin (source), 0, 0, getPlayerTeam(source)) 
setTimer (setCameraTarget, 5000, 1, source, source) 
setTimer (fadeCamera, 2000, 1, source, true) 
setTimer(giveWeapon, 5000, 1, source, theWeapon, weaponAmmo) 
end 
end 
addEventHandler ("onPlayerWasted", getRootElement(), onPlayerWasted) 

n7eb tarji3 lweps llkol mch we7ed bark

Link to comment

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...