Jump to content

_DrXenon

Members
  • Posts

    249
  • Joined

  • Last visited

Everything posted by _DrXenon

  1. createMarker -- around the base ( or a colShape) "onMarkerHit" setElementPosition(hitElement,x,y,z) -- teleport him somewhere else out of the marker.
  2. One suggestion create a Dx rectangle for instance and then create a gui label (with no text) on the Dx Rectangle (with same x,y,width,height) then addEventHandler("onClientGUIClick",theLabel,function) -- when you click on the label (that's not visible...trigger the function)
  3. yeah...! Change every getWantedLevel written in the script to getPlayerWantedLevel ... as there is no getWantedLevel function, that's why it keep outputting : attempt to compare 'number' with 'nil' nil = getWantedLevel , to get it as number use : getPlayerWantedLevel!!!!!
  4. oldVehicle is not an element. I don't really think that the return of the function "getElementData" can be an element D:
  5. oldVehicle is not an element. I don't really think that the return of the function "getElementData" can be an element D:
  6. _DrXenon

    Help wins

    line 2: local Wins = getElementData(thePlayer,"Wins") -- you didnt use it and thePlayer isn't defined (its nil) local thePlayer = source -- no need for that, just use source instead of thePlayer anyway, You sure that the source is the player ?! Is it Client or server side? and the event was triggered server-side or client-side? ?! i mean you typed : "triggerEvent" or "triggerServerEvent" or "triggerClientEvent" ?!
  7. what about createProjectile?
  8. _DrXenon

    Hud problem

    By the way, as i understood, he made the HUD not the GTA Hud. so how will "showPlayerHudComponent(source,"all",false)" work..?! his HUD isn't a part of GTA HUD, so the function "showPlayerHudComponents(source,"all",false) will only hide the GTA Hud.
  9. well, Idk if "getWantedLevel" exists... So, The right one is "getPlayerWantedLevel(crim)
  10. _DrXenon

    Not working.

    I know about all this and you are right.. but play sets play skin to random skin on his login..
  11. _DrXenon

    Not working.

    Skins cant be saved when gamemode is play i gueds..
  12. _DrXenon

    Hud problem

    OnPlayerLogin (serverside) TriggerClientEvent() Use those functions. If you didnt understand i will explain later..
  13. _DrXenon

    Question

    try this on player damage, gets player health, if weapon id is 31 (m4 i guess) or 30 or 26 (sawed i guess) then set its health to its current health - 10 Hp. function setLowerDamage(attacker,wep,bd,loss) local health = getElementHealth(source) if (wep == 31) or (wep == 30) or (wep == 26) then setElementHealth(source,tonumber(health - 10)) -- you may use another number. ( or a math.random(10,15) maybe ) end end addEventHandler("onPlayerDamage",root,setLowerDamage)
  14. what exactly do you want to do? tell us so we can understand each other D:
  15. Sorry for the last Image, This site doesn't support Large images D:
  16. Bank System & Automated Teller Machine By SuperCroz. Description : This scripts creates ATMs (Automated Teller Machine) all over San Andreas, 4 Machines in each City, 1 on bone county. You can deposit/withdraw money from/to bank. Current Features : Deposit Money Withdraw Money Deposit all Money. Withdraw all money. Bank Login Window. (login into the bank with your bank account ) Bank register Window ( create a bank account ) Current Design : Coming Soon: Transferring System. sending money by command (/giveMoney player amount) Bank Rents. Next Design: Download Link: https://community.multitheftauto.com/in ... ls&id=9275
  17. He said "Im in to pay for it." , that's mean he will pay for it?! Anyway, recently i've made Level system ( exp %, Levels on scoreboard , not done with shop that's sell guns according to levels ( will be done soon)) But, I don't have a paypal account D: just contact me via skype and we will talk there D: Supercroz (skype)
  18. getElementSpeed is a useful function, so you can't just use it with out copying the source code to your file first Copy and paste the source code, then use it ( if you didn't already) and ofc, use onClientRender even to get player speed on every frame.
  19. I'll be happy to help you with such a project.
  20. Yeah, It only lock vehicles that was made by clientside file. Even the freeroam cars, admin panel cars , if it was created via client side, then it will be locked, else if it was made server side, it won't be locked. I tested it and results were: Some cars are locked/cant be entered and others can be.
  21. Can you write the whole function here please?
  22. it responds directly, Contact me via skype: supercroz, if you have an problem.
×
×
  • Create New...