M[ROYAL]R Posted August 23, 2014 Share Posted August 23, 2014 السلام عليكم شباب المهم انا عملت مود مو مهم المهم انو ما ياخذ الفلوس function teleportPlayer() if(source == GUIEditor.staticimage[1]) then local PlayerMoney = getPlayerMoney(source) if ( PlayerMoney >= 500) then takePlayerMoney(source,500) --- وهنا بعد outputChatBox ( "تم ", getRootElement(), 255, 0, 0, true ) local teleportX, teleportY, teleportZ = 1644.26147, -2256.60547, 13.32457 setElementPosition(getLocalPlayer(), teleportX, teleportY, teleportZ) else outputChatBox("ليس معك ما يكفى", source, 255, 0, 0, true) guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end end addEventHandler("onClientGUIClick", root, teleportPlayer) Link to comment
shwaeki Posted August 23, 2014 Share Posted August 23, 2014 الفلوس في الكلنت تكون وهمية و السورس يعني الزر انتا تعطي الزر فلوس Link to comment
#Mr.alkmasha Posted August 23, 2014 Share Posted August 23, 2014 (edited) Client [lua]addEventHandler("onClientGUIClick",guiRoot,function() if ( source == GG ) then triggerServerEvent("TakeMoney",localPlayer) else outputChatBox("Yuo Dont Have Moeny !!",255,0,255) end end) جربه كذا Edited August 23, 2014 by Guest Link to comment
#Mr.alkmasha Posted August 23, 2014 Share Posted August 23, 2014 (edited) ! Edited August 23, 2014 by Guest Link to comment
#Mr.alkmasha Posted August 23, 2014 Share Posted August 23, 2014 (edited) ! Edited August 23, 2014 by Guest Link to comment
shwaeki Posted August 23, 2014 Share Posted August 23, 2014 ^ ليش 4 ردود و كول هاد حطخهم كلهم في رد Link to comment
#Mr.alkmasha Posted August 23, 2014 Share Posted August 23, 2014 ^ليش 4 ردود و كول هاد حطخهم كلهم في رد يخي علقت الجهاز و الكيبورد Link to comment
M[ROYAL]R Posted August 23, 2014 Author Share Posted August 23, 2014 Client[lua]addEventHandler("onClientGUIClick",guiRoot,function() if ( source == GG ) then triggerServerEvent("TakeMoney",localPlayer) else outputChatBox("Yuo Dont Have Moeny !!",255,0,255) end end) جربه كذا تسلم حبى بجد انت كفووو اسف انى ما ررديت وربى ما كنت على الحاسوب Link to comment
#Mr.alkmasha Posted August 23, 2014 Share Posted August 23, 2014 Client addEventHandler("onClientGUIClick",guiRoot,function() if ( source == GG ) then triggerServerEvent("TakeMoney",localPlayer) else outputChatBox("Yuo Dont Have Moeny !!",255,0,255) end end) جربه كذا[/quote] تسلم حبى بجد انت كفووو اسف انى ما ررديت وربى ما كنت على الحاسوب[/quote] ذا حطه ب ملف سيرفر [lua]Server addEvent("TakeMoney",true) addEventHandler("TakeMoney",root,function() takePlayerMoney (source,100000) end)[/lua][/lua] Link to comment
shwaeki Posted August 23, 2014 Share Posted August 23, 2014 ^ GG انتا عمل اذا عص على زر عير ليل اسمة يطلع له لا تملك نقود Link to comment
#Mr.alkmasha Posted August 23, 2014 Share Posted August 23, 2014 ^GG انتا عمل اذا عص على زر عير ليل اسمة يطلع له لا تملك نقود خلاص خلاص صلحته و اعطيتو اياه سكايب 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