0 Üye ve 1 Ziyaretçi konuyu incelemekte.
addEventHandler("onClientGUIClick",getRootElement(),function (player) if (source == GUIEditor_Button[2]) then guiSetVisible (GUIEditor_Window[1],false) showCursor (false) elseif (source == GUIEditor_Button[1]) then money = getPlayerMoney (source) if (money < 10) then outputChatBox ("You cant pay addEventHandler("onClientGUIClick",getRootElement(),function (player) if (source == GUIEditor_Button[2]) then guiSetVisible (GUIEditor_Window[1],false) showCursor (false) elseif (source == GUIEditor_Button[1]) then money = getPlayerMoney (source) if (money < 10) then outputChatBox ("You cant pay $10?",153,51,255) else player = getLocalPlayer() outputChatBox ("Enjoy The Meal",153,51,255) takePlayerMoney(10) setElementHealth ( player, getElementHealth(player) + 20 ) setPedWalkingStyle(localPlayer,126) setTimer(setPedWalkingStyle,30000,1,1) end endend)0?",153,51,255) else player = getLocalPlayer() outputChatBox ("Enjoy The Meal",153,51,255) takePlayerMoney(10) setElementHealth ( player, getElementHealth(player) + 20 ) setPedWalkingStyle(localPlayer,126) setTimer(setPedWalkingStyle,30000,1,1) end endend)
addEventHandler("onClientGUIClick",getRootElement(),function() if (source == GUIEditor_Button[2]) then guiSetVisible (GUIEditor_Window[1],false) showCursor (false) elseif (source == GUIEditor_Button[1]) then money = getPlayerMoney (source) if (money < 10) then outputChatBox ("You cant pay addEventHandler("onClientGUIClick",getRootElement(),function() if (source == GUIEditor_Button[2]) then guiSetVisible (GUIEditor_Window[1],false) showCursor (false) elseif (source == GUIEditor_Button[1]) then money = getPlayerMoney (source) if (money < 10) then outputChatBox ("You cant pay $10?",153,51,255) else outputChatBox ("Satın Alındı",153,51,255) takePlayerMoney(10) setPedWalkingStyle(localPlayer,126) setTimer(function() setPedWalkingStyle(localPlayer,0) end,30000,1) end endend)0?",153,51,255) else outputChatBox ("Satın Alındı",153,51,255) takePlayerMoney(10) setPedWalkingStyle(localPlayer,126) setTimer(function() setPedWalkingStyle(localPlayer,0) end,30000,1) end endend)