Jump to content

MiniGoveya

Members
  • Content Count

    84
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MiniGoveya

  • Rank
    Transformer
  • Birthday 17/02/1996

Details

  • Location
    Caracas, Venezuela.
  1. Can you show me a working example of copyAccountData function with command handler?, thank you.
  2. MiniGoveya

    admin

    Hmm then the code would be: function push( playerSource, command ) player=getLocalPlayer(playerSource) if ( hasObjectPermissionTo ( playerSource, "function.Push", true ) ) then if isPedInVehicle(player) then local vehicle=getPedOccupiedVehicle(player) x,y,z=getElementVelocity(vehicle) setElementVelocity ( vehicle, x, y, z+0.25) end end end addCommandHandler ( "push", push ) ??? P.S.: I think its clients ide EDIT: I really don't know what to put in "function.Push"
  3. MiniGoveya

    admin

    Ok I have this lvl 5, he can push himself or others, so here is the code function push( playerSource, command ) player=getLocalPlayer(playerSource) if isPedInVehicle(player) then local vehicle=getPedOccupiedVehicle(player) x,y,z=getElementVelocity(vehicle) setElementVelocity ( vehicle, x, y, z+0.25) end end addCommandHandler ( "push", push ) this is the acl of lvl 5 "Admin5"> "Admin1" /> "Admin2" /> "Admin3" /> "Admin4a" /> "Admin4b" /> "Admin4c" />
  4. MiniGoveya

    admin

    yea.. its a command but its in a folder. EDIT: So it mut be object name="resource.mta" ??? EDIT2: Is there any way to put whole the resources for admin levels on 1 folder? and make it for files instead of millions of folders?
  5. MiniGoveya

    admin

    Sorry for double post, If I have a script called, "mta.zip" and I want that admins level X can use it I must add on acl of this admin group this line: "resource.mta.zip" /> ???
  6. MiniGoveya

    admin

    Oooohh thank you bro! Hey, shouldn't I delete this things? "resource.BaseMode" /> "resource.admin" /> "resource.webadmin" /> Or should I put it on every new acl? let me know because I don't understand that part. I ask this because this acl don't have nothing of that: "SuperModerator"> "Moderator" /> "SuperModerator" />
  7. MiniGoveya

    admin

    @Citizen If I write in chatbox !admins there say Level 1: Citizen Level 5: proracer Level 10: MiniGoveya.<3 etc.. @proracer Thank you Btw, just need that?
  8. MiniGoveya

    admin

    Which functions could I use to make the !admins function??
  9. No no no, you didn't get me. I want that when I press the button( Already existing ) appear the window not when I start the resource. Like the 'Set Money' 'Set Armour' 'Set Health' 'Set Nick', etcetera. This code ( Making the window ) make the window when I start the resource. open = 0 function box() if open==0 then open = 1 showCursor(true) myWindow = guiCreateWindow(0.375, 0.375, 0.500, 0.500, "Map Test Help Commands - GUI Version", true) but1 = guiCreateButton(0.0, 0.1, 0.19, 0.1, "Fix", true, myWindow)
  10. open = 0 function box() if open==0 then open = 1 showCursor(true) myWindow = guiCreateWindow(0.375, 0.375, 0.500, 0.500, "Map Test Help Commands - GUI Version", true) but1 = guiCreateButton(0.0, 0.1, 0.19, 0.1, "Fix", true, myWindow) but2 = guiCreateButton(0.0, 0.23, 0.19, 0.1, "Blow up", true, myWindow) but3 = guiCreateButton(0.0, 0.36, 0.19, 0.1, "Water Color", true, myWindow) elseif open==1 then open = 0 destroyElement(myWindow)
  11. I'm trying to make some world properties changer so, I made a button with the text "Water Color" ( Here start the problem ) when I touch it, it must open another window ( Like the set money, set armor, set health in normal admin panel ) but I don't know how to do it, I tried making another window in association with the button but didn't work, code:
  12. meta.xml "Admin Commands" description="Simply admin commands" author="MiniGoveya" type="script" version="0.2" /> "help.xml" type="server" />
×
×
  • Create New...