Jump to content

mR|TurboCow

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by mR|TurboCow

  1. function assignNewLudzie ( ) setPlayerTeam ( source, teamLudzie ) for i,player in ipairs(getElementsByType("player")) do spawn(player) end end function spawn(player) repeat until spawnPlayer ( player, 213+math.random(1,5), 1873+math.random(5,9), 15, 90, math.random(9,288) ) fadeCamera(player, true) setCameraTarget(player, player) fadeCamera ( source, true ) giveWeapon ( player, 17, 900) giveWeapon ( player, 29, 900) giveWeapon ( player, 31, 900) setElementModel ( player, 29 ) setPlayerNametagColor ( player, 225, 225, 0 ) addEventHandler ( "onPlayerJoin", getRootElement(), assignNewLudzie ) function die ( ) setTimer(spawn, 1800, 1, source) end addEventHandler("onPlayerWasted", getRootElement(), die ) so , this was work for me i hope it work for u too
  2. lol , why one car haven't a wheel ? but enyway , nice map
  3. spawnPlayer( source, 213.26884460449, 1873.2000732422, 13.140625 ) <----- try that and try one time with other meta , without those "setings"
  4. for debug hit ur F8 in ur server , and write there /debugscript 3 and why player don't spawn , try that: spawnPlayer( source, 213.26884460449, 1873.2000732422, 13.140625, 0.0, 0 ) and no error for meta ? then idk Good Luck!
  5. lol , i have setPlayer (something , dont remeber ) ( source, "fire", false )
  6. hello again i want to ask again one question.. look , i want to make safezone , but coming error , what should i add to delete player weapon slot and fire ?? thank you , TurboCow
  7. hey all! i have problem , i tryed to make spawnmenu , but he's dont show up , error line will be in and error look's like: ERROR: ...er/mods/deathmatch/rescources/spawnMenu/spawnmenu.lua:6: attempt to call global 'guiGetVisible' (a nil value) and script is : wdwspawnmenu = {} Button = {} spawnLabel = {} function createSpawnMenuWindow () if guiGetVisible (wdwspawnmenu) then guiSetVisible(wdwspawnmenu,false) showCursor(false) else wdwspawnmenu = guiCreateWindow ( 168, 161, 324, 135, "", false ) policeButton = guiCreateButton ( 0.0772, 0.2593, 0.2284, 0.2296, "Police", true, wdwspawnmenu ) civilianButton = guiCreateButton ( 0.3858, 0.2444, 0.2284, 0.2296, "Civilians", true, wdwspawnmenu ) robberButton = guiCreateButton ( 0.6636, 0.2519, 0.2284, 0.2296, "Robber's", true, wdwspawnmenu ) medicButton = guiCreateButton ( 0.0802, 0.5481, 0.2284, 0.2296, "Medics", true, wdwspawnmenu ) fireButton = guiCreateButton ( 0.3858, 0.5407, 0.2284, 0.2296, "Fire Deperament", true, wdwspawnmenu ) spawnLabel = guiCreateLabel ( 0.0926, 0.8074, 0.8827, 0.1407, "Plz choose one team where u want to spawn.", true, wdwspawnmenu ) guiLabelSetColor ( spawnLabel, 0, 0, 255 ) guiLabelSetVerticalAlign ( spawnLabel, "top" ) guiLabelSetHorizontalAlign( spawnLabel, "center", false ) guiSetVisible(wdwspawnmenu,true) showCursor(true) end end addCommandHandler ( "spawnmenu", createSpawnMenuWindow )
  8. no no no , it isn't weird to use Hamachi , i use too hamachi , ohh , i'm new here and i'm beginer in scripting it will be going off topic u still building RPG ?
×
×
  • Create New...