جرب ذا
--Server Side
local timeouted = 1220
local id = 1
local ammo = 3131
addEventHandler,('onPlayerWasted',root,function (attacker)
spawnPlayer (source,812.29241943359,-1100.7707519531,25.786060333252)
outputChatBox(' You Are Wasted [ '..getPlayerName(attacker).. ' ] ',source,255,255,0,true)
setTimer(outAttac,timeouted,1,source)
end
)
function outAttac(player)
spawnPlayer (player,0,0,0)
outputChatBox(' تم خروجك من مقبره المقتول [ '..getPlayerName(player).. ' ] ',player,255,255,0,true)
giveWeapon(player,id,ammo)
end