Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. Hey guys, i am making a marker. I would like it to be when somone walks in it they will get money. I have been working on this for ever (like an hour) and i just cant figure this damn script out. So i decided someone from MTA forums could figure it out. If you can please do it. This is the script i currently have (server side): marker = createMarker ( 2513.4299316406,-1671.6391601563,12.6, "cylinder", 1.5, 255, 0, 0, 170 ) function lol ( thePlayer ) setMoney ( 90000 ) end addEventHandler ( "onMarkerHit", getRootElement(), lol )
  2. so is this what my code should look like? (if it is, it didnt fail, it is a client side file) function Move ( attacker ) cancelEvent() end addEventHandler ( "setElementFrozen", getRootElement(), Move )
  3. Hey guys, im new to scripting ( ) and i need help to stop my peds from moving, i got godmode for them, but i cannot figure out how to stop them from moving if they get punched, or hit by a car. If you can help me that would be greate here is my getto code: function Move ( attacker ) cancelEvent() end addEventHandler ( "onClientPedMove", getRootElement(), Move )
  4. In your mtaserver.config, make sure your IP is 192.168.1.1 or 192.168.1.2 or 192.168.1.3 or 192.168.1.4 or 192.168.1.5, one of those 5. Normally it will be 192.168.1.2 & the one that works, connect to your server with it.
  5. i solved the coordinates prob, view my my post right after this one.
  6. Hey guys, from my other script i have inproved my script so now it is a client side: addEventHandler ( "onClientResourceStart", resourceRoot, function () for i=0, 10000 do modelName = engineGetModelNameFromID ( 4990 ) if string.find ( modelName, "airprtwlkto1_LAS" ) then removeWorldModel(4990, 1000, 1646.1999511719, -2414.1999511719, 17.89999961853) end end end ) And it works great, but the object still spawns. it will spawn so you can see it but its not there, you can just go throu it. If you can help please do so. This is what i mean: http://imageshack.us/a/img600/5912/mtas ... 230237.png
  7. No because im pretty sure it has to be the exact cordinates
  8. Hey guys, its me again. i got this script to delete the world items, but i dont know how to find the cordinates. if you know how i can find world item object cordinates, feel free to tell how Script: addEventHandler ("onResourceStart",resourceRoot, function() removeWorldModel(4019, 1000, 1775.9000244141, -1807.9000244141, 27.89999961853) -- Model end) function restoreall() restoreAllWorldModels() end addCommandHandler("restore", restoreall)
  9. they script for me because there awsome, and there pro's. One of them has recently uploaded a script to Community, check it out: https://community.multitheftauto.com/ind ... ls&id=5685
  10. and indeed,I started my server but didn't look for any scripter cause I know i'll be dissapointed lolz, no scripter will script for u for free lol i already have two.
  11. Hey i need a vehicle spawner where when you go into the marker then a GUI shows you can spawn a vehicle Preview: http://imageshack.us/photo/my-images/14 ... 75757.png/ (this is what i mean)
  12. ITS ABOUT TIME FINALY I GOT IT WORKING THANK YOU ALL
  13. Hey forums, its me again xXMADEXx. I am looking for some scripters for my new RPG server. If you are nice person who will script for free please contact me on skype ( topKIDminer ). I am making a new server named US-RP ( us-rp.site90.net ) so ya, i got most the scripts that i am in need of, i just have a few such as Godmoded Peds.
  14. Hey MTA, its me, i need a script that when i create a ped with: team[name] = createPed ( x, y, z, RZ, int, dim ) it will have godmode so noone can kill it, if you know how to do it and i know alot of people know how to do it so if yo please let me know the script.
  15. OMFG how did i not think of that, i do it all the time, today just isnt my day
  16. This is my script: function togglestaffMode(thePlayer) local account = getPlayerAccount(thePlayer) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "military" ) ) ) then if getElementData(thePlayer,"invincible") then setElementData(thePlayer,"invincible",false) outputChatBox("Staff Mode is now off.",thePlayer,255,0,0) else setElementData(thePlayer,"invincible",false) outputChatBox("Staff Mode is now on.",thePlayer,0,255,0) end end end function createTeamsOnStart () teammili = createTeam ( "Military", 0, 255, 0 ) end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) function lol ( player, command ) setPlayerTeam ( player, teammili ) setPlayerSkin(player, 287) end addCommandHandler ( "military", lol )
  17. Hey MTA, this is my first topic and i need somone who can make my script command work for only the acl group named Military. If you can do that, let me know please. -xXMADEXx Download to script - http://www.mediafire.com/?xx60g6k1d1cm9j7 Just please somone make the script only work for ACL group named Military thanks.
×
×
  • Create New...