Jump to content

manve1

Retired Staff
  • Posts

    1,283
  • Joined

  • Last visited

Everything posted by manve1

  1. manve1

    Help

    I made a script which should 100% work, but it doesn't, it is in meta as server side, but i get error in debug script 3 that on the acl part "getPlayerName" argument 1 has an error function plata( source ) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Admin")) then givePlayerMoney( v, 1 ) end end setTimer ( plata, 2300, 0)
  2. manve1

    A way?

    there is no errors ...
  3. manve1

    A way?

    oh, got confused now confused of how should i make the getPlayerFromNamePart EDIT: i tried making it work .. but failed: function power(source,action,player) player = getPlayerName( source ) if name then for i, player in ipairs(getElementsByType("player")) do if string.find(getPlayerName(player):lower(), tostring(name):lower(), 1, true) then return player end end if not player then outputChatBox("sorry, but we need the player full name!",source) return end if not isPedInVehicle(player) then outputChatBox("Sorry, but the player isn't in a vehicle!",source) return end local vehicle = getPedOccupiedVehicle ( player ) if ( action == "fix" ) then fixVehicle ( vehicle ) elseif ( action == "blow" ) then blowVehicle ( vehicle ) end end end addCommandHandler("blow",power) addCommandHandler("fix",power)
  4. manve1

    A way?

    Anderl code looks like this: function power(source,action,player) player = getPlayerFromNamePart(player) if not player then outputChatBox("sorry, but we need the player full name!",source) return end if not isPedInVehicle(player) then outputChatBox("Sorry, but the player isn't in a vehicle!",source) return end local vehicle = getPedOccupiedVehicle ( player ) if ( action == "fix" ) then fixVehicle ( vehicle ) elseif ( action == "blow" ) then blowVehicle ( vehicle ) end end addCommandHandler("blow",power) addCommandHandler("fix",power)
  5. manve1

    A way?

    i tried blow fix dont work too
  6. manve1

    A way?

    dont work no output or anything
  7. manve1

    A way?

    would there be a way i could make my script blow someones vehicles when i do: /boom ? function ( player ) local vehicle = getPedOccupiedVehicle ( player ) if ( vehicle ) then if ( boom ) then blowVehicle ( vehicle ) end end end
  8. how could i make that others would see it too?
  9. I tried using what jay said, re-made it .. ect .. but still didn't work, even if i make it client or server side ( i left it as server side ) function cry_baby() setTimer(outputChatBox,100,1,getPlayerName(source) .."#FF0000 Cries like a baby #0000FF",source,255,255,255,true) end addCommandHandler( "cry", cry_baby ) in debug it tells about the "getPlayerName" that it gets boolen...
  10. is there a way i could actually remove a blip from a player after he dies?
  11. I'm actually reporting more of a mta community member that is actually rating everything i try to make 1/5 and posting some things which most likely is correct but that counts what he posts + rates as spamming, because he does it only to me because i tried to fix save-system .. links: https://community.multitheftauto.com/ind ... ls&id=5734 https://community.multitheftauto.com/ind ... ls&id=5377 https://community.multitheftauto.com/ind ... ls&id=5606 https://community.multitheftauto.com/ind ... ls&id=5600 https://community.multitheftauto.com/ind ... ls&id=5613 i don't want them to get deleted, i just want you to take a look at what "Alan.Alexander" always posts on my scripts, because it is unfair for me ...
  12. try this: hello = { hi = true hey = true }
  13. i don't know what you mean and i don't blame you for it, but have you tried using: onClientGuiClick --or guiSetVisible
  14. NOTE: You already asked this! take my re-maked one https://community.multitheftauto.com/ind ... ls&id=5734
  15. manve1

    Is there?

    Is there a way i could like make if you type in "www.google.com" in a editBox it would show some pictures up?
  16. /\ this is actually good example for a bug, but there was a post of adding stuff like GIF ect .. even why not adding video formats acceptable? thats what i was asking
  17. make a script which would save account details and when they die, he gets them
  18. Is there functions with i could use to make like a video on player's screen?
  19. manve1

    don't work

    Why a 100ms timer? it's basically the same as outputting the text right after typing the command ._. because it is? i want it to be like this
  20. manve1

    don't work

    the script i made doesn't output any debugscript 3 or something in chat function cry_baby( ) setTimer ( outputChatBox, 100, 1, "#FF0000 Cries like a baby #0000FF (( #FFFFFF".. getPlayerName(source) .."#0000FF ))", source, 255, 255, 255, true ) end end addCommandHandler( "cry", cry_baby )
  21. manve1

    not work .!

    you haven't made that the health would go up and down EDIT: use dxDrawRectangle <<== should work for the outline of the health... btw there is already resource made for MTA ... https://community.multitheftauto.com/ind ... ls&id=5673 the script is for: name tag, health bar, armor bar.
  22. you can't set whole GUI as set read only only a memo. --ect: memo = guiCreateMemo( 0.7, 0.6, 0.9, 0.9, "", true ) guiMemoSetReadOnly(memo, true)
×
×
  • Create New...