 
        IIIIlllllIII
Members- 
                Posts201
- 
                Joined
Everything posted by IIIIlllllIII
- 
	Solidsnake14 plz help me trying to make shop workIIIIlllllIII replied to IIIIlllllIII's topic in Scripting Best scripter, best king of scripter, best assistant, best of assistant. Stop it dude, you are embarrassing your self. You say, "Your English is bad", and when he helps you, "BEST KING OF SCRIPTER". And I tell you to try yourself and give you functions, "WTF YOU WANT TO HELP PEOPLE WITH SCRIPTS", I give you an example code. Grow up dude. grow up man did you know my age my old is 22 so you grow up and dont replay to me i asking solidsnake14 only sorry i ask him and you the best too you helped me before thanks JR10
- 
	Solidsnake14 plz help me trying to make shop workIIIIlllllIII replied to IIIIlllllIII's topic in Scripting shut up i dont ask you you try to insulte me you fucking noob خخخخخخخخخخخخخخخخخ يابوووو وش تبي انت وجهك اخ تفوووو شوف وجهك يامصخره في سيرفري الكل يضحك على وجهك ويتفل عليه ههههههههههه لووووووووووول وبعدين ياحمار محد سئلك انا حاط الموضوع اسئل سولدسناك ما حد سئلك روح تعلم انجليزي يانوب sorry he is arabian and i know him he is nooob he try to insulte me but i will ignored him ============== thank you solidsnake14 you the best and i will ignore TAPL he trying to insulte me see has face imge in my server lol lol
- 
	this topic for only Solidsnake14 the is pro in scripter i try to make shop for buy the weapons and i have problem with it see the code first shopWindow = guiCreateWindow(220,100,544,435,"Shop MOJRM-511 1.1",false) guiSetVisible (shopWindow, false) guiWindowSetSizable(shopWindow,false) tabPanel = guiCreateTabPanel(11,23,544,472,false,shopWindow) tab = guiCreateTab("info",tabPanel) tab = guiCreateTab("buy weapons",tabPanel) guiWindowSetMovable(tab,false) --------- السطر 1 -line 1 ----- function initGUI( ) guiCreateStaticImage( 10,10,90,75, "weapon/4.png", false,tab ) weapButton = guiCreateButton(10,80,90,30,"$500 knif",false,tab) addEventHandler ( "onClientGUIClick", weapButton, outputEditBox, false ) editBox = guiCreateEdit( 0.3, 0.1, 0.4, 0.1, " has been buy it knif", false ) end addEventHandler ( "onClientResourceStart", weapButton ) function weapButton() triggerServerEvent ( "event", localPlayer ,weapButton ) end ------------------------------------ guiCreateStaticImage( 110,10,90,75, "weapon/2.png", false,tab ) weapButton = guiCreateButton(110,80,90,30,"$900 dod",false,tab) --------------------------------- guiCreateStaticImage( 210,10,90,75, "weapon/3.png", false,tab ) weapButton = guiCreateButton(210,80,90,30,"M4",false,tab) --------------------------------- guiCreateStaticImage( 310,10,90,75, "weapon/1.png", false,tab ) weapButton = guiCreateButton(310,80,90,30,"M4",false,tab) -------------------------------- guiCreateStaticImage( 410,10,90,75, "weapon/5.png", false,tab ) weapButton = guiCreateButton(410,80,90,30,"M4",false,tab) -------------------------2 السطر guiCreateStaticImage( 10,110,90,80, "weapon/6.png", false,tab ) weapButton = guiCreateButton(10,190,90,30,"M4",false,tab) guiCreateStaticImage( 110,110,90,80, "weapon/7.png", false,tab ) weapButton = guiCreateButton(110,190,90,30,"M4",false,tab) guiCreateStaticImage( 210,110,90,80, "weapon/8.png", false,tab ) weapButton = guiCreateButton(210,190,90,30,"M4",false,tab) guiCreateStaticImage( 310,110,90,80, "weapon/9.png", false,tab ) weapButton = guiCreateButton(310,190,90,30,"M4",false,tab) guiCreateStaticImage( 410,110,90,80, "weapon/10.png", false,tab ) weapButton = guiCreateButton(410,190,90,30,"M4",false,tab) function outputEditBox ( button ) if button == "left" then local text = guiGetText ( editBox ) outputChatBox ( text ) end end addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource( ) ), initGUI ) bindKey ( "F2" , "down" , function() guiSetVisible ( shopWindow , not guiGetVisible ( shopWindow ) ) showCursor ( guiGetVisible ( shopWindow ) ) end ) if you see line 1 im trying to bind button on buy knif if i press the button i want buy the knif and when i buy knif output msg on chatbox i wanna make it work man i want make shop work great i try to make it since 3 days
- 
	thank you so mutch man dont blame me im trying to make it work but thank you so mutch for the help and replay and i am sorry for replay and say wtf to you i know you maybe busy and all guys busy they maybe dont have time to give me all codes i know and sorry agine thank you
- 
	wtf you dont want help people to make scripts if you dont want help me so why you replay in my topic?
- 
	hi i make shop for buy weapons without guieditor and i have problem my problem i want if i press the button of the weapon i buy the weapon that is i mean when i buy the weapon i prees the button and i buy it i hope you understand me this is my code shopWindow = guiCreateWindow(220,100,544,435,"Shop MOJRM-511",false) guiSetVisible (shopWindow, false) guiWindowSetSizable(shopWindow,false) tabPanel = guiCreateTabPanel(11,23,544,472,false,shopWindow) tab = guiCreateTab("info",tabPanel) tab = guiCreateTab("buy weapons",tabPanel) guiWindowSetMovable(tab,false) --------- السطر 1------ guiCreateStaticImage( 10,10,90,75, "weapon/4.png", false,tab ) weapButton = guiCreateButton(10,80,90,30,"$500 knif",false,tab) guiCreateStaticImage( 110,10,90,75, "weapon/2.png", false,tab ) weapButton = guiCreateButton(110,80,90,20,"$900 dod",false,tab) guiCreateStaticImage( 210,10,90,75, "weapon/3.png", false,tab ) weapButton = guiCreateButton(210,80,90,20,"M4",false,tab) bindKey ( "F2" , "down" , function() guiSetVisible ( shopWindow , not guiGetVisible ( shopWindow ) ) showCursor ( guiGetVisible ( shopWindow ) ) end ) how i buy the weapon if i press on the button on the weapon ?
- 
	ok shut up and this forum for help each other im not english to learn some lua scripts i dont know how to make scripts so dont insult me because im really i dont have time and stop Mockery of me
- 
	خخخخخخخخخخخخخخخخخخخخ if you want crypt ur files you need a good crypt also you can download this http://www.mediafire.com/?w480ct4dci8b0fj
- 
	give me ur code pleez i dont have time
- 
	post your code here we want see it
- 
	maybe ur problem in client use this client http://www.mediafire.com/?324ymf7a28cfedz sorry the code of this client crypted i cant see the code and trye to add onRequestGhostMode or function onRecieveGhostModeFromServer something like that but im not sure
- 
	hi i make afk system for basemode and the code not working pleez fix it server local BaseModeState = "" local enableMessages = true local messageColor = "#FF5555" function afkMsg(mtype) if(getResourceState ( getResourceFromName("BaseMode") ) == "running") then local isFinished = call(getResourceFromName("BaseMode"), "isPlayerFinished", source) if(not isFinished and BaseModeState == "Running") then if(enableMessages) then if(mtype == 1) then outputChatBox(messageColor.."* "..getPlayerName(source)..messageColor.." has been killed by Anti-AFK.", getRootElement(), 255,100,100, true) elseif(mtype == 2) then outputChatBox(messageColor.."* You are AFK and you will be killed after 1 Minute!", source, 255,100,100, true) end end end end end addEvent( "afkWarn", true ) addEventHandler( "afkWarn", getRootElement(), afkMsg) function afkKill() if(getResourceState ( getResourceFromName("BaseMode") ) == "running") then local isFinished = call(getResourceFromName("BaseMode"), "isPlayerFinished", source) if(not isFinished and BaseModeState == "Running") then setElementHealth(source, 0) end end end addEvent( "afkSlap", true ) addEventHandler( "afkSlap", getRootElement(), afkKill) function changeBaseModeState(newStateName) BaseModeState = newStateName end addEvent("onBaseModeStateChanging", true) addEventHandler( "onBaseModeStateChanging", getRootElement(), changeBaseModeState) function clientLoaded() local msgenable = get( "msgenable" ) local msgcol = get( "msgcolor" ) if(msgenable) then if(msgenable == "true") then enableMessages = true else enableMessages = false end if(msgcol) then messageColor = msgcol end end local maxtime = get( "maxafktime" ) local wtime = get( "warnTime" ) triggerClientEvent ( "onSettingsReady", getRootElement(), maxtime, wtime) end addEvent("onClientLoaded", true) addEventHandler( "onClientLoaded", getRootElement(), clientLoaded) client local MaxAFKtime = 30 local warnTime = 20 local v = 0 local AFKtime = 0 local sx,sy = guiGetScreenSize() local wEvent = false function rWarn() dxDrawImage( sx/2 - 300, sy/2 - 100, 600, 200, 'warn.png' ) end function stopWarn() if(wEvent) then removeEventHandler("onClientRender", getRootElement(), rWarn) wEvent = false end end function checkMain() if isPedInVehicle ( getLocalPlayer() ) then v = getElementVelocity ( getPedOccupiedVehicle ( getLocalPlayer() ) ) if(v == 0) then aTimeAdd() else aTimeClear() end end end function aTimeAdd() AFKtime = AFKtime + 0.1 local isFinished = getElementData ( getLocalPlayer(), "BaseMode.finished") if(isVehicleFrozen ( getPedOccupiedVehicle ( getLocalPlayer() )) and isFinished == false) then aTimeClear() end if(AFKtime >= MaxAFKtime) then AFKtime = 0 triggerServerEvent ( "afkSlap", getLocalPlayer()) stopWarn() triggerServerEvent ( "afkWarn", getLocalPlayer(), 1) elseif(AFKtime == warnTime) then triggerServerEvent ( "afkWarn", getLocalPlayer(), 2) if(not wEvent) then addEventHandler("onClientRender", getRootElement(), rWarn) wEvent = true end end end function aTimeClear() AFKtime = 0 end setTimer ( checkMain, 100, -1) function onClientLoaded(res) triggerServerEvent("onClientLoaded",getLocalPlayer()) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),onClientLoaded) function loadSettings(maxtime, wtime ) MaxAFKtime = tonumber(maxtime) warnTime = tonumber(wtime) end addEvent( "onSettingsReady", true ) addEventHandler( "onSettingsReady", getRootElement(), loadSettings ) pleeez fix it not working with me i test it
- 
	man you the best thank you so mutch how many time you helping me you are the king of the scripter works great thank you my friend you the king of scripter
- 
	this dos not working i test it before when i login with moderator account and when i run the script and see the debugscript 3 i see the msg in debugscript http://upimg.org/show.php/3237_115891579.bmp.html see the img and the script dont work pleeez fix it all my day trying to make it work plz
- 
	this dont working i test this addEventHandler ( "onPlayerChat" , root , function ( message , type ) if isObjectInACLGroup ( "user." .. getPlayerName(source), aclGetGroup ( "Moderator" ) ) then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#00FF00[Moderator]-#ffffff" .. getPlayerName ( source ) .. ": " .. message, getRootElement(), r, g, b, true ) end end) i have erorr in script i test wiki i said wiki dont help me any one help me pleez
- 
	man im noob in script but we try do you mean this for admin addEventHandler ( "onPlayerChat" , root , function ( message , type ) if isObjectInACLGroup ( source , "admin" ) then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#00FF00[Admin]-#ffffff" .. getPlayerName ( source ) .. ":" .. message, getRootElement(), r, g, b, true ) end end) for moderator addEventHandler ( "onPlayerChat" , root , function ( message , type ) if isObjectInACLGroup ( source , "moderator" ) then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#00FF00[Moderator]-#ffffff" .. getPlayerName ( source ) .. ":" .. message, getRootElement(), r, g, b, true ) end end) did i do the true or no
- 
	hi i have admin script for chat box when the admin type somehting in the chat box all players see the admin name like when i type in the chat see this admin-MOJRM-511 see the code addEventHandler ( "onPlayerChat" , root , function ( message , type ) if hasObjectPermissionTo ( source , "function.banPlayer" ) then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( "#00FF00[Admin]-#ffffff" .. getPlayerName ( source ) .. ":" .. message, getRootElement(), r, g, b, true ) end end) and all works great but the problem i cant make script for modrator only admin if i but function.banPlayer all the admin and modrator in the chat box be admin i wanna make script for modrator only modrator when i set function.banPlayer if im admin and modrator i see the same in the chat box i wanna make it for modrator all the function in the acl admin and acl moderator pleeeez help me for make this script i still all my day to make it work for moderator and super modrator pleeez help me the wiki dont help me
- 
	hahaha man dont be angry i kidding with you we not english i mean you and me maybe sometime we have a problem with english dont angry i kidding
- 
	Solidsnake14 you the best you the king of scripters the script works great good thank you so much you really helped me all my problem you helped me thank you so much
- 
	back when i try this code addEventHandler ( "onPlayerChat" , root , function ( message , type ) if hasObjectPermissionTo ( source , "function.banPlayer" ) then cancelEvent ( ) outputChatBox ( "#ff0000admin" .. getPlayerName ( source ) .. ":" .. message, getRootElement() ) end end) i dont see the color not working all works great but i dont see the color when i put #ff0000 red color the problem with the color not working fix it pleeez
- 
	hey this is just a small problem and i fix it
- 
	sorry explaine more i dont understand what is ur problem !
- 
	oh small problem just delete the img
- 
	wtf you too i dont know anything of what you say your english too man lett me understand you
- 
	man im a good scripter what do you want if you want make your server special just connect me in the msn
