Jump to content

وين الخطأ ..


Recommended Posts

وين الحطا في الكود اكتب في اف 8 kill ميصير شيئ

function killPlayer(player) 
if getElementData(source,"Stats") ~= 3 then 
exports.topChat:outputTopChat("سوف تموت بعد 10 ثواني ,يرجى الانتظار",player,255,255,0) 
setTimer(setPedFrozen(player,true), 10000, 1) 
setTimer(killPed, 10000, 1, player) 
end 
addCommandHandler("kill",killPlayer) 

Link to comment

function killPlayer(player) 
if getElementData(player,"Stats") ~= 3 then 
exports.topChat:outputTopChat("سوف تموت بعد 10 ثواني ,يرجى الانتظار",player,255,255,0) 
setTimer(setElementFrozen, 10000, 1,player,true) 
setTimer(killPed, 10000, 1, player) 
end 
end 
addCommandHandler("kill",killPlayer) 
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...