N3xT Posted June 30, 2015 Share Posted June 30, 2015 addEventHandler("onResourceStart",getRootElement(), function ( ) for i,v in ipairs(getElementsByType("player")) do bindKey(v,"F3","down",ProGamer) end end) function ProGamer ( ) -- your code end لازم تضيف ProGamer () ProGamer مو شرط يكون أسم الفنكشن غيره بكيفك Link to comment
I_Mr.[T]he[P]rInCe Posted June 30, 2015 Author Share Posted June 30, 2015 addEventHandler("onResourceStart",getRootElement(), function ( ) for i,v in ipairs(getElementsByType("player")) do bindKey(v,"F3","down",ProGamer) end end) function ProGamer ( ) -- your code end لازم تضيف ProGamer () ProGamer مو شرط يكون أسم الفنكشن غيره بكيفك أقصد لازم تضيف ProGamer() في الفنكشن عشان bindKey Link to comment
iMr.Dawix~# Posted June 30, 2015 Share Posted June 30, 2015 يمكن انت حاط ماركر لو دخله يفتح نافذه اذا كان كذا getElementType -- player localPlayer سو تأكيد انه لاعب + انه اللاعب هو نفسه شكرا انت اللي افدتني العفو :] 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