Jump to content

DjThaKiller

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

0 Neutral

About DjThaKiller

  • Rank
    Square

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hey everybody, i need you. Whats wrong with my script ??? PanelVisible = false function togglePanel ( player ) if PanelVisible == false then showGUIEditor_Window[1] = true GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Label = {} GUIEditor_Radio = {} GUIEditor_Window[1] = guiCreateWindow(705,-1,322,533,"Sunny Userpanel by DjThaKiller",false) guiSetAlpha(GUIEditor_Window[1],1) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],fal
  2. When i go in this Marker: function LSpdgarage_func ( player , player ) if dim == true and getPedOccupiedVehicle ( player ) == false then setElementPosition ( player, 1530.4194335938, -1677.4145507813, 5.890625 ) setElementInterior ( player, 0) end end addEventHandler ( "onMarkerHit", SFPDInnen, LSpdgarage_func ) Then it teleport me in the SFPD garage. But when i hit the marker it doesnt anything happen.
  3. I did but he shows no bugs -.- so i want you to help me please...
  4. Hey guys. My Friend made a script. I dont know wheres the bug but see self please: PoliceComputer = createObject ( 2190, 229.83325195313, 124.82567596436, 1010.1395874023, 0, 0, 200 ) setElementInterior ( PoliceComputer, 10 ) SFPDEnter = createMarker ( 1554.1402587891, -1675.7454833984, 16.1953125,"corona", 1, getColorFromString ( "#FF000099" ) ) SFPDExit = createMarker ( 246.4075012207, 107.34195709229, 1003, "corona", 1, getColorFromString ( "#FF000099" ) ) setElementInterior (SFPDExit, 10) function SFPDrein_func ( player ) setElementInterior ( player, 10, 245.922790527
  5. Hey everybody, I want to costomize a big sign ingame with .txt pictures. Can you tell me what i have to do ?
  6. Debugscript says it stack overflow but i dont know what it mean im German
  7. Hey guys i need your Help...... Anything in my script is not right. function createTerrorGate () terrorgate = createObject ( 980, -2127.3454589844, -80.345802307129, 27, 0, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), createTerrorGate ) function createTeam () terror = createTeam ( "Terrorristen", 200, 50, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), createTeam ) function moveGate ( player ) if getTeamName(getPlayerTeam(player)) == "Terrorist" or isPedInVehicle( player ) then
  8. it didn´t work, too debugscript show me: Error: Army Base/ gates.lua:8: Bad Argument @ 'getPlayerTeam' Error: Army Base/ gates.lua:8: Bad Argument @ 'getTeamName'
  9. it doesnt work function createTheGate () myGate = createObject( 988, 96.722534179688, 1920.3703613281, 18.158107757568, 0, 0, 270 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate (player, command ) (getTeamName(getPlayerTeam" class="kw2">getPlayerTeam(thePlayer)) == "Army") moveObject( myGate, 5000, 96.722534179688, 1915.8951416016, 18.158107757568 ) outputChatBox(""..getPlayerName(player).." opened the Armybase", 255, 255, 0, true) end addCommandHandler("armyo",openMyGate) fun
  10. So now its work. function createTheGate () myGate = createObject( 988, 96.722534179688, 1920.3703613281, 18.158107757568, 0, 0, 270 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate (player, command ) moveObject( myGate, 5000, 96.722534179688, 1915.8951416016, 18.158107757568 ) outputChatBox(""..getPlayerName(player).." opened the Armybase", 255, 255, 0, true) end addCommandHandler("armyo",openMyGate) function movingMyGateBack () moveObject( myGate, 5000, 96.722534179688, 1920.37036
  11. Hi everybody... I made a little script for a Armybase... But i have a problem, i want that the Chatbox write who opened the base... function createTheGate () myGate = createObject( 988, 96.722534179688, 1920.3703613281, 18.158107757568, 0, 0, 270 ) end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource () ), createTheGate ) function openMyGate ( ) moveObject( myGate, 5000, 96.722534179688, 1915.8951416016, 18.158107757568 ) outputChatBox(getPlayerName(source)"opened the Armybase", 255, 255, 0, true) end addCommandHandler("armyo",openMyG
×
×
  • Create New...