Jump to content

xeon17

Members
  • Posts

    1,903
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by xeon17

  1. Post by Leonard.DC on 30 Jan 2014, 05:14
  2. https://community.multitheftauto.com/in ... ls&id=2599 This resource is stolen , the orginal author of the resource is ZoLo , by the way check comments of the resource there are a lot insults on portugues. DONE
  3. I seached something like this , thanks so much man
  4. I tried to change fix the problem , and tried to change elementdata but nothing. Does anyone know what's wrong?
  5. xeon17

    Ped

    Lol ._. what a stupid mistake , thanks dude
  6. xeon17

    Ped

    I have some bugs with my code in client side, PedPolice = createPed ( 1287.17981, -1661.16187, 13.54688, 280) setElementFrozen(PedPolice,true) setPedAnimation( PedPolice, "PED", "IDLE_CHAT") addEventHandler ( "onClientPedDamage",PedPolice, function ( ) cancelEvent () end) client.lua:12 bad argument @ 'setElementFrozen' [Expected element at argument 1 ,got boolean] client.lua:12 bad argument @ 'setPedAnimation [Expected element at argument 1 ,got boolean] client.lua:12 bad argument @ 'addEventHandler' [Expected element at argument 2 ,got boolean] What i'm going wrong ? can someone fix?
  7. There are some errors that flood my debugscript3 . by the way , can you please explain how the police & wanted system work because i have problems , example a player have wanted level i'm try to arrest or to kill him but i'm getting killed.
  8. xeon17

    getAccountName

    by Anubhav on 27 Aug 2014, 12:48 by XeoN- on 27 Aug 2014, 12:49 Keep calm , we posted in the same time nobody copied your code. By the way , my code isn't 100% like your.
  9. xeon17

    getAccountName

    addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource() ), function () for i, p in ipairs ( getElementsByType ( "player" ) ) do local account = getPlayerAccount (p) if (account ) then if ( getAccountName ( account ) ) then <------------- this line if ( getAccountData ( p , "vip" ) ) then setElementData ( p, "vip", true ); setElementData ( p, "vip.time", tonumber ( getAccountData ( getAccountName ( p ), "vip.time" ) ) ); startVip ( p ); end end end end );
  10. Add the following teams: "SAPD", "SWAT", "FBI" and "Army". (see law-job.lua) I need to create these teams?
  11. xeon17

    Questions

    All time i trought it need to be true @_@ Thanks man
  12. xeon17

    Questions

    Thanks i'll try it , i think it's better i ask here and no create new topic. the problem is friendly fire , i tried all possible but i can't turn friendlyfire on for teams. addEventHandler("onResourceStart", getRootElement(), function () setTeamFriendlyFire ( BallasTeam, true ) setTeamFriendlyFire ( MafiaTeam, true ) setTeamFriendlyFire ( TriadTeam, true ) setTeamFriendlyFire ( AztecasTeam, true ) setTeamFriendlyFire ( VagosTeam, true ) setTeamFriendlyFire ( GROVETeam, true ) setTeamFriendlyFire ( PoliciaTeam, true ) end) and i tried the code in wiki example , is the function bugged or?
  13. xeon17

    Questions

    Hello there , i wanna add flags of players on scoreboard but problem is the image flag dosen't show. This is my code of flag: exports.scoreboard:addScoreboardColumn('Home') function showcountry() local flag = exports.admin:getPlayerCountry ( source ) if flag then setElementData(source,"Home",":admin/client/images/flags/"..flag..".png") else flag = "N/A" end end addEventHandler("onPlayerJoin",getRootElement(),showcountry)
  14. Default dimension is 0
  15. xeon17

    MTA Lag

    After installing of Graphics driver my friend have problem to enter mta http://imgur.com/Um3lXs8.png @EDIT and he have problems with his destop
  16. xeon17

    MTA Lag

    True , he have a bad PC but sometime in tactics server his fps goes to 60 when he specate , when he play his fps drops from 50/40 to 30 or 20 etc etc.
  17. xeon17

    EXP script

    Continue like that and you never will learn. Keep calm it's just a joke.
  18. xeon17

    EXP script

    I , Just hate when someone's steal My Codes , Why Don't you meak your Own ? Cuz it's easier to steal
  19. xeon17

    MTA Lag

    Hello guys i wanna ask for help for a friend , because he dosen't have a account on forum. His problem is Lag in MTA , example one secound he have fps 61 other one 40 or 30 etc etc Maybe updated drivers would solve the problem a little or something other. Here is his MTA DIAG Pastebin : http://pastebin.mtasa.com/844942860
  20. xeon17

    Wrong

    So can i use this function to kick players who use custom gta controls?
  21. xeon17

    Wrong

    What i'm doing wrong ? local keys = getBoundKeys ( crouch ) if (keys == fire ) then
  22. xeon17

    Question

    I seached resources on wiki but found nothing , if you know one please give me ._.
  23. xeon17

    Question

    How i can use this function to check some player gta controls, but it should check every 10 seconds ? https://wiki.multitheftauto.com/wiki/Ge ... BoundToKey and if player have custom controls he get kicked a example?
×
×
  • Create New...