LOAM Posted March 10, 2017 Share Posted March 10, 2017 شباب انا اريد كود مثلا انا عملت هكر مكينه المصرف عوز اول ما اعمل هاك واخذ الفلوس يجيلى محضر او محضرين الى انا احطه انا لو شرطى شافنى يمسكنى شكرا Link to comment
AHMED MOSTAFA Posted March 10, 2017 Share Posted March 10, 2017 (edited) 13 minutes ago, LOAM said: شباب انا اريد كود مثلا انا عملت هكر مكينه المصرف عوز اول ما اعمل هاك واخذ الفلوس يجيلى محضر او محضرين الى انا احطه انا لو شرطى شافنى يمسكنى شكرا setPlayerWantedLevel --ex. local Marker = createMarker (...) function KillerProject ( DeveloperAhmed ) if source == Marker then if (getElementType (DeveloperAhmed) == "player") and (DeveloperAhmed == localPlayer) then setPlayerWantedLevel ( DeveloperAhmed, 6 ) end end end addEventHandler ( "onMarkerHit", root, KillerProject ) Edited March 10, 2017 by Killer Project ex... 1 Link to comment
LOAM Posted March 10, 2017 Author Share Posted March 10, 2017 10 minutes ago, #_iMr.[E]coo said: ايش محظر ؟ تجيك star Link to comment
AHMED MOSTAFA Posted March 10, 2017 Share Posted March 10, 2017 Just now, LOAM said: تجيك star اطلع فوق على ردي Link to comment
^iiEcoo'x_) Posted March 10, 2017 Share Posted March 10, 2017 1 minute ago, LOAM said: تجيك star هات كود المصرف @Killer Project كودك خطا Link to comment
AHMED MOSTAFA Posted March 10, 2017 Share Posted March 10, 2017 Just now, #_iMr.[E]coo said: هات كود المصرف @Killer Project كودك خطا مدري تراني ما اجرب ض1 Link to comment
LOAM Posted March 10, 2017 Author Share Posted March 10, 2017 6 hours ago, Killer Project said: اطلع فوق على ردي شكرا اخى انا الان بجرب #Edit: 5 hours ago, #_iMr.[E]coo said: هات كود المصرف @Killer Project كودك خطا ---------server -- useful function bool isPlayerInTeam ( player thePlayer [, team/string theTeam = nil ] ) function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "Criminal" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local Team = "Criminal" local Money = 5000 addEvent("givePlayerMoney",true) addEventHandler ("givePlayerMoney",root, function () if isPlayerInTeam(source,"Criminal") then givePlayerMoney ( source , Money ) outputChatBox("You get money 5000k from..ATM../..Hack",source,550,666,0,true) else outputChatBox("you can't hack...Criminal Job only can Hack",source,666,0,0,true) end end ) addEvent ( "onPlayerSendMoney", true) addEventHandler ( "onPlayerSendMoney", root, function ( plr , money ) local plr = getPlayerFromName ( plr ) local getM = getPlayerMoney ( source ) if getM == tonumber(money) then takePlayerMoney ( source , tonumber(money) ) givePlayerMoney ( plr , tonumber(money) ) end end ) Link to comment
AHMED MOSTAFA Posted March 10, 2017 Share Posted March 10, 2017 7 minutes ago, LOAM said: تجربتك جرب ---------server -- useful function bool isPlayerInTeam ( player thePlayer [, team/string theTeam = nil ] ) function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "Criminal" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local Team = "Criminal" local Money = 5000 addEvent("givePlayerMoney",true) addEventHandler ("givePlayerMoney",root, function () if isPlayerInTeam(client,"Criminal") then givePlayerMoney ( client , Money ) setPlayerWantedLevel ( client, 6 ) -- عدد النجوم 6 outputChatBox("You get money 5k from..ATM../..Hack",client,550,666,0,true) else outputChatBox("you can't hack...Criminal Job only can Hack",client,666,0,0,true) end end ) addEvent ( "onPlayerSendMoney", true) addEventHandler ( "onPlayerSendMoney", root, function ( plr , money ) local plr = getPlayerFromName ( plr ) local getM = getPlayerMoney ( client ) if getM == tonumber(money) then takePlayerMoney ( client , tonumber(money) ) givePlayerMoney ( plr , tonumber(money) ) end end ) 1 Link to comment
^iiEcoo'x_) Posted March 10, 2017 Share Posted March 10, 2017 @Killer Project setPlayerWantedLevel ( client , getPlayerWantedLevel ( client ) + 1 ) Link to comment
AHMED MOSTAFA Posted March 10, 2017 Share Posted March 10, 2017 1 minute ago, #_iMr.[E]coo said: @Killer Project setPlayerWantedLevel ( client , getPlayerWantedLevel ( client ) + 1 ) كفو بس تراهم 6 نجوم كاملين ض1 Link to comment
^iiEcoo'x_) Posted March 10, 2017 Share Posted March 10, 2017 5 minutes ago, Killer Project said: كفو بس تراهم 6 نجوم كاملين ض1 عارف بس هو طلب نجمة او نجمتين 1 Link to comment
LOAM Posted March 10, 2017 Author Share Posted March 10, 2017 4 hours ago, Killer Project said: جرب ---------server -- useful function bool isPlayerInTeam ( player thePlayer [, team/string theTeam = nil ] ) function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "Criminal" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local Team = "Criminal" local Money = 5000 addEvent("givePlayerMoney",true) addEventHandler ("givePlayerMoney",root, function () if isPlayerInTeam(client,"Criminal") then givePlayerMoney ( client , Money ) setPlayerWantedLevel ( client, 6 ) -- عدد النجوم 6 outputChatBox("You get money 5k from..ATM../..Hack",client,550,666,0,true) else outputChatBox("you can't hack...Criminal Job only can Hack",client,666,0,0,true) end end ) addEvent ( "onPlayerSendMoney", true) addEventHandler ( "onPlayerSendMoney", root, function ( plr , money ) local plr = getPlayerFromName ( plr ) local getM = getPlayerMoney ( client ) if getM == tonumber(money) then takePlayerMoney ( client , tonumber(money) ) givePlayerMoney ( plr , tonumber(money) ) end end ) 1 hour ago, #_iMr.[E]coo said: عارف بس هو طلب نجمة او نجمتين شكرا على المساعده شباب 1 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now