Jump to content

TroyBoy

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by TroyBoy

  1. WARNING: myserver\OwnerTeam.lua:59: Bad argument @ 'addCommandHandler' [Expected function at argument 2, got nil this is this lines this is when i put only owner with the admin this is the error: [2012-02-15 20:04:38] SCRIPT ERROR: myserver\OwnerTeam.lua:81: 'end' expected (to close 'function' at line 60) near '' [2012-02-15 20:04:38] WARNING: Loading script failed: myserver\OwnerTeam.lua:81: 'end' expected (to close 'function' at line 60) near ''
  2. look i wana do this command: addCommandHandler( "go", gotoplayerposition ) function gotoplayerposition ( theplayer, command ) local playerTeam = getPlayerTeam ( source ) if ( playerTeam ) then local name = getTeamName ( playerTeam ) if name == "Owner" then local find = findPlayer( player ) if find == false then outputChatbox ( "No player with that name." ) else local px, py, pz = getElementPosition ( find ) setElementPosition (source, px, py, pz ) end else outputChatbox ( "Not an admin!" ) end end end for the owner and the admin team but when i try to do this i have an error help please
  3. look i wana open my server with a map in race mode so i can have the race pickups but when i try to choose the map the screen turns black what i need to do?
  4. when my friend try to go in the server he had this massage: help please
  5. TroyBoy

    race map

    ty and how can i create two check point that if i cross over the first only then i can see the second and how can i do that it not be a final checkpoint?
  6. TroyBoy

    race map

    can you give me for version 1.3
  7. TroyBoy

    race map

    look i did a simple map with the race pickups how can i turn this map to a race mode map cus if i put her simpley i dont see the race pickups
  8. how can i create vehicle that i choose like /createvehicle hydra\520 how can i do this for all the vehicles not only hydra in 1 command
  9. my question is what line in the script that you gave me check the name of the player that i wrote in the game to give him the money if it will be TroyBoy and i will write TroyBoy in the playername what will check this
  10. no i ment the line that check the name of the player i typed in the game
  11. can you explain me from the script what is give the find the player that i typed in the game?
  12. how can i do a command to send to a player that i will choose i mean like /givemoney [playername] ammount how can i do this?
×
×
  • Create New...