Jump to content

Mike269

Members
  • Posts

    218
  • Joined

  • Last visited

Everything posted by Mike269

  1. Hahah I was searching for those scripts but I didn't find good scripts, thanks mate!
  2. I made base and at base I spawned vehicles how could I lock vehicles only for team?
  3. Hello everyone does anyone have link of grafitty resource to draw them? And I need script to save my money after I restart server after I get killed and after I quit. I also need help how to create moving gate, thanks!
  4. Mike269

    Spawn Menu

    Hello guys anyone know how can I add my own gang into this spawn menu? Thanks! https://community.multitheftauto.com/ind ... ls&id=1152
  5. Thanks to the best teacher! If anyone searching for scripting lessons ServerBoss is the right one!
  6. Is there any spawn selection like this + RPG features? thanks!
  7. Mike269

    Skin mod

    Hello guys can you help me fix skin? Script is done just not working on server, whats wrong? Files: hmycr.dff hmycr.txd meta script Script: function replaceskin() txd = engineLoadTXD ( "hmycr.txd" ) engineImportTXD (txd, 47) dff = engineLoadDFF ( "hmycr.dff", 47) engineReplaceModel ( dff, 47) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), replaceskin) Meta:
  8. --Gang Privates-- function spawnProelite (prevA, curA, spawn) -- if ( getElementData(source, "gang") == "peF" ) then spawnPlayer (source, 2529.24609375, 2024.0888671875, 11.18254, 181, 285, 0, 0, clan1) -- setPlayerMoney ( source, 2000 ) fadeCamera (source, true) setCameraTarget (source, source) giveWeapon ( source, 9, 1) giveWeapon ( source, 24, 120) giveWeapon ( source, 28, 550) giveWeapon ( source, 31, 450) else outputChatBox("You are not from this Clan !", source, 100, 100, 100, false) end end addEvent( "spawnPef", true ) -- addEventHandler( "spawnPef", root, spawnProelite ) -- I want to make that I can only spawn as peF, only if im in team "Dark Crew" or how I can connect this script with: https://community.multitheftauto.com/in ... ls&id=8992 if im in gang "Dark Crew" I can spawn with Dark Crew skin in base spawn system - https://community.multitheftauto.com/in ... ls&id=8320
  9. Im searching for working login panel because every login panel that I download is bugged ( can't register) and im searching for save system that will save everything position after server restart weapons, skin (onPLayerWasted + when server restart) Thanks !
  10. No I want when I die, there will be in chatbox "You gonna die"
  11. function onPlayerWasted ( test ) outputChatBox ( "FF0000You gonna die",getRootElement(),255,255,255, true )end end end addEventHandler ( "onPlayerWasted", outputChatBox ( "FF0000You gonna die",getRootElement(),255,255,255, true ) end ) Can anyone tell me whats wrong here? thanks
  12. i started the scripting when i was 14 it dosnet matter and iam arabic, and english is your mother lang it should be easy for you. no man.. Im from Slovenia, can you give me link where you learned ?
  13. Yeah maybe you, but im just 13 years old boy I can't do shit, help me please:/
  14. Hello guys im here again to find a scripting teacher, because this is my life wish, I tried to learn scripting a lot of times but I can just edit some basic and not complicated scripts I will be very very very happy if someone will take time for me and help me to learn that Skype: simonos2000
  15. Hello everyone! Im searching a scripter for Destruction Derby server or anyone have any DD script that can send me plssss skype- simonos2000 +Im 13 years old fucker that want to learn scripting haha, can anyone tell me easy way to learn please please
  16. Hello guys. team = { } team["staff"] =createTeam ( "Staff", 255, 255, 255 ) team["military"] =createTeam ( "Armed Forces", 29, 99, 6 ) team["swatteam"] =createTeam ( "S.W.A.T.", 0, 90, 255 ) team["lawenforcement"] =createTeam ( "Law Enforcement", 40, 147, 242 ) team["Criminal"] =createTeam ( "Criminal", 255, 0, 0 ) team["Communtiy"] =createTeam ( "Community", 255, 255, 0 ) team["medic"] =createTeam ( "Medic", 0, 255, 255 ) team["unemployed"] =createTeam ( "Unemployed", 209, 218, 106 ) team["EleCtriC KiLlerS"] =createTeam ( "EleCtriC KiLlerS", 0, 0, 0 ) team["The Magic Assassins"] =createTeam ( "The Magic Assassins", 43, 20, 184 ) function lena(thePlayer) local playerTeam = getPlayerTeam ( player ) local ss = getTeamName ( playerTeam ) if ss=="The Magic Assassins" then setTimer(azaz, 1800, 1, player) outputDebugString("It's works") end end addEventHandler("onPlayerWasted",getRootElement(),lena) function azaz(player) setElementPosition(player,1094.7105712891,2092.7939453125,15.350400924683) end function lena(thePlayer) local playerTeam = getPlayerTeam ( player ) local ss = getTeamName ( playerTeam ) if ss=="EleCtriC KiLlerS" then setTimer(azaz, 1800, 1, player) outputDebugString("It's works") end end addEventHandler("onPlayerWasted",getRootElement(),lena) function azaz(player) setElementPosition(player,1040.1600341797,1304.3272705078,10.8203125) end I had spawn (function lena) first just for one gang and was working perfect but now i made 2nd spawn for another gang "EleCtriC KiLlerS" and spawn wont work everyone spawn at hospital. debugscript 3 : WARNING: Teams\teams.lua:14: Bad argument @ 'getPlayerTeam' WARNING: Teams\teams.lua:15: Bad argument @ 'getTeamName' WARNING: Teams\teams.lua:28: Bad argument @ 'getPlayerTeam' WARNING: Teams\teams.lua:29: Bad argument @ 'getTeamName If you can help me fix it ill be very happy , thx!'
  17. Mike269

    Colored Road

    Hello guys I want to know how to make colored road (gamemode: race) example: http://i.imgur.com/tf17IWq.jpg -Green road Thx!
  18. Mike269

    Turfing help

    Deleted *PROBLEM SOLVED*
  19. Mike269

    Turfing help

    Hello guys, I using those two resources : https://community.multitheftauto.com/ind ... ls&id=8036 https://community.multitheftauto.com/ind ... ls&id=8123 Should working turfing right? But when I enter Green zone (Turfing area) it's says in debuscript: "WARNING: groups-system\gang_client./luac:0 Bad Argument @ 'getElementData' [Expected element at argument 1,got boolean] --What can I do?-- + When I capture Turf it seems like isn't captured color don't change. Why?
  20. oh but how? Can you edit it and paste me full Lua?
  21. team = { } team["staff"] = createTeam ( "Staff", 255, 255, 255 ) team["military"] = createTeam ( "Armed Forces", 29, 99, 6 ) team["swatteam"] = createTeam ( "S.W.A.T.", 0, 90, 255 ) team["lawenforcement"] = createTeam ( "Law Enforcement", 40, 147, 242 ) team["Criminal"] = createTeam ( "Criminal", 255, 0, 0 ) team["Communtiy"] = createTeam ( "Community", 255, 255, 0 ) team["medic"] = createTeam ( "Medic", 0, 255, 255 ) team["unemployed"] = createTeam ( "Unemployed", 209, 218, 106 ) team["EleCtriC KiLlerS"] = createTeam ( "EleCtriC KiLlerS", 0, 0, 0 ) team["The Magic Assassins"] = createTeam ( "The Magic Assassins", 43, 20, 184 ) function setPTeam ( who, team ) if ( who ) and ( team) and ( getTeamFromName ( team ) ) then setPlayerTeam ( who, getTeamFromName ( team ) ) end end Hello guys how I can make spawn for team EXAMPLE: You have been spawned at Groove street as team ( The Magic Assassins) Thx!
  22. Can you give me example?
×
×
  • Create New...