50cent

Members
  • Content count

    104
  • Joined

  • Last visited

Community Reputation

1 Neutral

About 50cent

  • Rank
    Punk-@ss B*tch

Recent Profile Visitors

1,884 profile views
  1. this is the code: (not the full code): outputChatBox("#01AC41[SuperFun#aeaeae - Segítségkérés]#FFffFF A gondod#FFffFF: #01AC41"..helpkell..".", thePlayer, 0, 200, 0, true) outputChatBox("#01AC41[SuperFun#aeaeae - Segítségkérés]#FFffFF Ezt az üzenetet megkapták az adminok!", thePlayer, 0, 200, 0, true) local accName = getAccountName( getPlayerAccount( thePlayer ) ) if isObjectInACLGroup( "user."..accName, aclGetGroup( "Admin" ) ) then outputChatBox("#01AC41[SuperFun#aeaeae - Segítségkérés]#FFffFF "..pname.."#FFffFF: #01AC41"..helpkell, thePlayer, 0, 200, 0, true) end in the full script, when the player press 'u' and write anything, this output to player, and admins. but the admin output does not working, the player see the first 2 line, but admins not see the five line. how to fix? sorry for my bad english :c
  2. i want create a "equalizer" effect to mta sa, like this: but how to create this?
  3. The default max money is 99 999 999$. Can i this max money increase to (for example) 200 000 000$?
  4. [Question] How can i add this to server side?

    Working fine, thanks!
  5. [Question] How can i add this to server side?

    function erablas( button, state, thePlayer ) if button == "left" and state == "down" then if getElementType( source ) == "object" and getElementModel(source) == 1829 then local x, y, z = getElementPosition( thePlayer ) local x1, y1, z1 = getElementPosition( source ) local distance = getDistanceBetweenPoints3D( x, y, z, x1, y1, z1 ) if distance < 4 then if ( idozito [ thePlayer ] ~= nil ) then outputChatBox ( "#01AC41[SuperFun] #FFffFFA következő széfrablásig várnod kell #01AC41".. math.floor ( getTimerDetails ( idozito [ thePlayer ] ) / 60000+1 ) .." percet.", thePlayer, 255, 0, 0, true ); else setElementFrozen(thePlayer, true) setPedAnimation(thePlayer , "rob_bank", "cat_safe_rob", 10000, true, true, true, false) setTimer(setElementFrozen,10000,1,thePlayer,false) setTimer(setPedAnimation,10000,1,thePlayer) randomM = math.random(500000,1500000) setTimer(function() givePlayerMoney(thePlayer,randomM) destroyElement(safe) end,10000,1) setTimer(outputChatBox, 10000,1,"#01AC41[SuperFun] #FFffFFÖsszesen raboltál #01AC41"..randomM.." #ffffffforintot.",thePlayer,255,255,255,true) setTimer(outputChatBox, 900000, 1,"#01AC41[SuperFun - #8C8C8CÉszaki] #FFffFFAz #01AC41északin #FFffFFújra kirabolhatóvá vált a széf! #01AC41(/eszaki)",root,255,255,255,true) setTimer(Boltrablas,900000,1) idozito [ thePlayer ] = setTimer ( function ( thePlayer ) idozito [ thePlayer ] = nil; end, 900000, 1, thePlayer); end else outputChatBox ( "#01AC41[SuperFun] #FFffFFTúl messze vagy a széftől! Gyere közelebb, nem harap..", thePlayer, 255, 0, 0, true ); end end end end addEventHandler( "onElementClicked", getRootElement( ), erablas )
  6. [Question] How can i add this to server side?

    setTimer(outputChatBox, 900000, 1,"#01AC41[SuperFun - #8C8C8CÉszaki] #FFffFFAz #01AC41északin #FFffFFújra kirabolhatóvá vált a széf! #01AC41(/eszaki)",root,255,255,255,true) when the thing can rob again, flood this text how to fix this?
  7. [Question] How can i add this to server side?

    function erablas( button, state, thePlayer ) if button == "left" and state == "down" then if getElementType( source ) == "object" then local x, y, z = getElementPosition( thePlayer ) local x1, y1, z1 = getElementPosition( source ) local distance = getDistanceBetweenPoints3D( x, y, z, x1, y1, z1 ) if distance < 4 then if ( idozito [ thePlayer ] ~= nil ) then outputChatBox ( "#01AC41[SuperFun] #FFffFFA következő széfrablásig várnod kell #01AC41".. math.floor ( getTimerDetails ( idozito [ thePlayer ] ) / 60000+1 ) .." percet.", thePlayer, 255, 0, 0, true ); else setElementFrozen(thePlayer, true) setPedAnimation(thePlayer , "rob_bank", "cat_safe_rob", 10000, true, true, true, false) setTimer(setElementFrozen,10000,1,thePlayer,false) setTimer(setPedAnimation,10000,1,thePlayer) randomM = math.random(500000,1500000) setTimer(function() givePlayerMoney(thePlayer,randomM) end,10000,1) setTimer(outputChatBox, 10000,1,"#01AC41[SuperFun] #FFffFFÖsszesen raboltál #01AC41"..randomM.." #ffffffforintot.",thePlayer,255,255,255,true) setTimer(outputChatBox, 900000, 1,"#01AC41[SuperFun - #8C8C8CÉszaki] #FFffFFAz #01AC41északin #FFffFFújra kirabolhatóvá vált a széf! #01AC41(/eszaki)",root,255,255,255,true) setTimer(Boltrablas,900000,1) idozito [ thePlayer ] = setTimer ( function ( thePlayer ) idozito [ thePlayer ] = nil; end, 900000, 1, thePlayer); end else outputChatBox ( "#01AC41[SuperFun] #FFffFFTúl messze vagy a széftől! Gyere közelebb, nem harap..", thePlayer, 255, 0, 0, true ); end end end end addEventHandler( "onElementClicked", getRootElement( ), erablas ) Now working, but i have a problem.. Why can i rob the thing, when other player robbed?
  8. [Question] How can i add this to server side?

    this why not working? function tesztteszt( theButton, theState, thePlayer, absoluteX, absoluteY, worldX, worldY, worldZ, element ) if element and getElementType( element ) == "object" and theButton == "left" and theState == "down" and getElementModel(element) == 1829 then if ( idozito [ thePlayer ] ~= nil ) then outputChatBox ( "#01AC41[SuperFun] #FFffFFA következő széfrablásig várnod kell #01AC41".. math.floor ( getTimerDetails ( idozito [ thePlayer ] ) / 60000+1 ) .." percet.", thePlayer, 255, 0, 0, true ); else setElementFrozen(thePlayer, true) setPedAnimation(thePlayer , "rob_bank", "cat_safe_rob", 10000, true, true, true, false) setTimer(setElementFrozen,10000,1,thePlayer,false) setTimer(setPedAnimation,10000,1,thePlayer) randomM = math.random(500000,1500000) setTimer(function() givePlayerMoney(thePlayer,randomM) end,10000,1) setTimer(outputChatBox, 10000,1,"#01AC41[SuperFun] #FFffFFÖsszesen raboltál #01AC41"..randomM.." #ffffffforintot.",thePlayer,255,255,255,true) setTimer(outputChatBox, 900000, 1,"#01AC41[SuperFun - #8C8C8CÉszaki] #FFffFFAz #01AC41északin #FFffFFújra kirabolhatod a széfet! #01AC41(/eszaki)",thePlayer,255,255,255,true) setTimer(Boltrablas,900000,1) idozito [ thePlayer ] = setTimer ( function ( thePlayer ) idozito [ thePlayer ] = nil; end, 900000, 1, thePlayer); end end end addEventHandler( "onElementClicked", getRootElement(), tesztteszt )
  9. i have this code in client side: function onMachineClick(button, state, absoluteX, absoluteY, worldX, worldY, worldZ, element) if element and getElementType( element ) == "object" and button == "left" and state == "down" and getElementModel(element) == 1829 then triggerServerEvent ("eszakirablas", root, getLocalPlayer()) end end addEventHandler("onClientClick", getRootElement(), onMachineClick) but i want add this to server side, is it possible?
  10. [BUG] Help, how to fix this bug?

    Thank you!:D
  11. i have this code: addEvent( "eszakirablas", true ) addEventHandler( "eszakirablas", root, function (thePlayer) if ( idozito [ thePlayer ] ~= nil ) then outputChatBox ( "#01AC41[SuperFun] #FFffFFA következő széfrablásig várnod kell #01AC41".. math.floor ( getTimerDetails ( idozito [ thePlayer ] ) / 60000+1 ) .." percet.", thePlayer, 255, 0, 0, true ); else setElementFrozen(thePlayer, true) setPedAnimation(thePlayer , "rob_bank", "cat_safe_rob", 10000, true, true, true, false) setTimer(setElementFrozen,10000,1,thePlayer,false) randomM = math.random(500000,1500000) setTimer(function() givePlayerMoney(thePlayer,randomM) end,10000,1) setTimer(outputChatBox, 10000,1,"#01AC41[SuperFun] #FFffFFÖsszesen raboltál #01AC41"..randomM.." #ffffffforintot.",thePlayer,255,255,255,true) setTimer(outputChatBox, 900000, 1,"#01AC41[SuperFun - #8C8C8CÉszaki] #FFffFFAz #01AC41északin #FFffFFújra kirabolhatod a széfet! #01AC41(/eszaki)",thePlayer,255,255,255,true) setTimer(Boltrablas,900000,1) idozito [ thePlayer ] = setTimer ( function ( thePlayer ) idozito [ thePlayer ] = nil; end, 900000, 1, thePlayer); end end ) and when the animation stop, and i change my skin, start off the animation.. how to fix this bug??
  12. i want make a script, which create objects every 15 minutes, and when i click on a object, then play a animation, and remove object & give me money, how to make this? sorry for my bad english.. :c
  13. i have a loginpanel, and i added this lines: time = getTickCount() x = 1000 y = 200 z = 20 function anim() x = x+0.31 y = y+0.32 setCameraMatrix(x,y,z, 0, 0, 0) if (getTickCount() - time >= 5000) then removeEventHandler("onClientPreRender", getRootElement(), anim) end end addEventHandler("onClientPreRender", getRootElement(), anim) but when i log in, how to set camera to the player? because when i login, the loginpanel disappear, and the camera stay there sorry for my bad english :c