Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. Castillo

    PUSH

    Don't double-post! i said i we won't make any script, TRY BY YOURSELF.
  2. Castillo

    Top time

    Do you know how to even open a FILE? (no offense) read the scripting introduction. https://wiki.multitheftauto.com/wiki/Scr ... troduction
  3. That code is the one i gave you.. everyone will hear it since i put getRootElement()
  4. Castillo

    Top time

    wth? to rename it you must edit the script file...
  5. Castillo

    PUSH

    huh? i gave you the links for the required functions to make your "/push" command, now you gotta think for a while and try to make it, if you have any problem while doing that just reply here
  6. Castillo

    PUSH

    We don't accept request, but we can tell you how to do it by yourself functions needed: addCommandHandler getPlayerFromName getElementVelocity setElementVelocity getPedOccupiedVehicle Good luck.
  7. Castillo

    Top time

    those stuff it's on "race" resource, just find where it's "Top Time" and rename it.
  8. playSound only Client side, you must trigger an event: --server side addEvent("Repair", true) addEventHandler("Repair", getRootElement(), function() if isPedInVehicle(source) then if ( getPlayerMoney (source) >= 500 ) then takePlayerMoney(source, 500) fixVehicle(getPedOccupiedVehicle(source)) triggerClientEvent("play_shop_sound",getRootElement()) outputChatBox("Vehicle Successfully Fixed", source, 255, 255, 0, true) else outputChatBox("Not enough money.", source, 255, 0, 0, true) end else outputChatBox("You are not in a vehicle", source, 255, 0, 0, true) end end ) --client side addEvent("play_shop_sound",true) addEventHandler("play_shop_sound",getRootElement(), function () local sound = playSound("DontHaveTime.mp3") setSoundVolume(sound, 2.5) end)
  9. Yeah, i used to get bored at Freeroams, but i started to help a friend to grow his and now it starts to be funny
  10. I don't think he has any skill dakilla
  11. I don't understand your last post, it's a mess of what i said and what you said...
  12. Castillo

    Server help

    read the server manual. https://wiki.multitheftauto.com/wiki/Server_Manual
  13. WTF?! acl = getElementModel() lol?, i don't know what are you trying to do but this really fails. If you want to check a acl then do this: safecol = createColCuboid ( 100.16635131836, 1820.5823974609, 17.289850234985, 200, 150, 100 ) safeZoneRadar = createRadarArea ( 100.16635131836,1820.5823974609, 200, 150, 0, 255, 0, 120 ) function enterZone(hitPlayer,machingDimension) local accountname = getAccountName(getPlayerAccount(hitPlayer)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" )) then toggleControl (hitPlayer, "fire", false ) toggleControl (hitPlayer, "aim_weapon", false) toggleControl (hitPlayer, "vehicle_fire", false) outputChatBox("Welcome, in moderator zone!", hitPlayer, 0, 255, 0) else killPed (hitPlayer) end end addEventHandler( "onColShapeHit", safecol, enterZone ) function leaveZone(hitPlayer,machingDimension) local accountname = getAccountName(getPlayerAccount(hitPlayer)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" )) then toggleControl (hitPlayer, "fire", true) toggleControl (hitPlayer, "aim_weapon", true) toggleControl (hitPlayer, "vehicle_fire", true) outputChatBox("* WARNING: You left moderator zone!", hitPlayer, 255, 0, 0) else killPed (hitPlayer) end end addEventHandler( "onColShapeLeave", safecol, leaveZone ) try it. P.S: wrong section.
  14. here it works, it outputs: [MM]Castillo: 4 2 + 2 = ? Correct! [MM]Castillo: 5 2 + 2 = ? Incorrect! [MM]Castillo: 8 2 + 2 = ? Incorrect!
  15. Castillo

    Check

    account data uses player ACCOUNT not player ELEMENT. getPlayerAccount(source)
  16. Castillo

    Check

    set a data on his account or something like that.
  17. Just search where the spawn point it's and change it's cords o_o
  18. Castillo

    Radar

    My name it's "Solidsnake14" not "MetalGear14"
  19. OMG, this is a topic of 2008! also it has many bugs on it.
  20. Uhm, i don't know anything about mta paradise system, i suposed it was already there.
  21. If i'm right you gotta click a Ped in the City hall.
  22. Try something first, if you have errors post what you have done here.
  23. This is not a "problem", you want us to make it for you, we don't accept request. https://wiki.multitheftauto.com/wiki/Scr ... troduction
  24. I know it's not made by you Would you copy it EXACT like Vick's?
  25. Login as admin and type INGAME /debugscript 3, this will show the errors in your script.
×
×
  • Create New...