Jump to content

طلب


Recommended Posts

ابيه اذا مات و طلع من سيرفر ياخذ الاسلحه مو لمن يموت

 

takeAllWeapons

تنفع؟

اممم اتوقع عني خربت ابو الاكواد 

addEventHandler ( "onPlayerWasted", getRootElement(), anticheat )
function anticheat (killerweapon)
  local anticheat1 = getWeaponNameFromID ( killerweapon ) 
end
end
)

function takewp (quitType )
      outputChatBox ( getPlayerName(source).. "قد مات و خرج من السيرفر و تم سحب الاسلحه(" .. quitType .. ")" )
	  takeAllWeapons ( getRootElement()
end
end
addEventHandler ( "onPlayerQuit", getRootElement(), quitPlayer )

خخخخخخخ شيل كلو روكب

Edited by Ghost-Gamer
Link to comment
addEventHandler ( "onPlayerWasted", root, function ( )
setElementData ( source, "WASTED", true )
end )
addEventHandler ( "onPlayerSpawn", root, function ( )
if getElementData ( source, "WASTED" ) == true then
setElementData ( source, "WASTED", false )
end
end
)
function takewp ( quitType )
    if getElementData ( source, "WASTED" ) == true then
		outputChatBox ( getPlayerName(source).. " قد مات و خرج من السيرفر و تم سحب الاسلحه ( " .. quitType .. " ) " )
		takeAllWeapons ( source )
	end 
end
addEventHandler ( "onPlayerQuit", root, takewp )

 

Edited by iMr.WiFi..!
انا بحب البظاظا لعيون بروس
Link to comment
12 hours ago, iMr.WiFi..! said:

addEventHandler ( "onPlayerWasted", root, function ( )
setElementData ( source, "WASTED", true )
end )
addEventHandler ( "onPlayerSpawn", root, function ( )
if getElementData ( source, "WASTED" ) == true then
setElementData ( source, "WASTED", false )
end
end
)
function takewp ( quitType )
    if getElementData ( source, "WASTED" ) == true then
		outputChatBox ( getPlayerName(source).. " قد مات و خرج من السيرفر و تم سحب الاسلحه ( " .. quitType .. " ) " )
		takeAllWeapons ( source )
	end 
end
addEventHandler ( "onPlayerQuit", root, takewp )

 

ما اشتغل ما يسحب الاسلحه

Link to comment
7 minutes ago, #,+( _xiRoc[K]; > said:

وش دخل حفظ الاسلحة ب PHP

roleplay :D

addEventHandler ( "onPlayerWasted", root, function ( )
setElementData ( source, "WASTED", true )
end )
addEventHandler ( "onPlayerSpawn", root, function ( )
if getElementData ( source, "WASTED" ) == true then
setElementData ( source, "WASTED", false )
end
end
)
function takewp ( quitType )
    if getElementData ( source, "WASTED" ) == true then
		outputChatBox ( getPlayerName(source).. " قد مات و خرج من السيرفر و تم سحب الاسلحه ( " .. quitType .. " ) " )
		takeAllWeapons ( source )
	end 
end
addEventHandler ( "onPlayerQuit", root, takewp )

addEventHandler ("onPlayerJoin", root, function ()
if getElementData ( source,"WASTED" ) == true then
    takeAllWeapons ( source )
	end
end
)

الحياة تجارب يمكن الكود الاخير كله كامل توي سويته ض

حق onPlayerJoin

Edited by Ghost-Gamer
Link to comment
5 hours ago, Ghost-Gamer said:

roleplay :D


addEventHandler ( "onPlayerWasted", root, function ( )
setElementData ( source, "WASTED", true )
end )
addEventHandler ( "onPlayerSpawn", root, function ( )
if getElementData ( source, "WASTED" ) == true then
setElementData ( source, "WASTED", false )
end
end
)
function takewp ( quitType )
    if getElementData ( source, "WASTED" ) == true then
		outputChatBox ( getPlayerName(source).. " قد مات و خرج من السيرفر و تم سحب الاسلحه ( " .. quitType .. " ) " )
		takeAllWeapons ( source )
	end 
end
addEventHandler ( "onPlayerQuit", root, takewp )

addEventHandler ("onPlayerJoin", root, function ()
if getElementData ( source,"WASTED" ) == true then
    takeAllWeapons ( source )
	end
end
)

الحياة تجارب يمكن الكود الاخير كله كامل توي سويته ض

حق onPlayerJoin

ما منه داعي

كيف تسوي تحقق لداتا واللاعب توه داخل

يعني كأنه شخص نظيف !

وماعنده اي داتا حتى لو حطيت عليه داتا قبل مايخرج

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