ابي اعرف لو كودي ذا صح قبل اجربه
اذا هو بتيم معين , وقتل اي حد يروح مقتول مكان معين
local team1 = createTeam( "team1", 0, 255, 0 )
addEvent( "SetPTeam", true )
addEventHandler( "SetPTeam", root,
function( )
setPlayerTeam( client, team1 )
giveWeapon( client, 31, 500 )
outputChatBox("You Now Take Job Killer", client)
end
)
addEventHandler ( "onPlayerWasted", root,
function( attacker )
if getPlayerTeam( source ) == getTeamFromName( "team1" )then
local x, y, z = 10, 15, 2 --change or remove if defined somewhere else
spawnPlayer( source, x, y, z, 0, getElementModel(source))
end
end
)