Jump to content

#Paper

Members
  • Posts

    568
  • Joined

  • Last visited

Everything posted by #Paper

  1. #Paper

    Map Rating

    What's wrong? local g_Root = getRootElement() addEventHandler('onGamemodeMapStart', g_Root, function() local getrate = call(getResourceFromName("mapratings"), "getMapRating()") outputChatBox ("#EE2C2C*This map is rated "..getrate.."!", 255,255,255, true) end )
  2. #Paper

    GridList

    nothing nothing... i did got this code from AdminP but i did try to make my own code, see inn the 1st post
  3. #Paper

    GridList

    How i can imports all maps name in a grid list? As the admin panel i did try whit this code, but don't load: local maps = call(getResourceFromName("mapmanager"), "getMapsCompatibleWithGamemode" , race) for id, map in ipairs (maps) do local row = guiGridListAddRow ( list ) guiGridListSetItemText ( list, row, names, maps, false, false ) end
  4. good map! Playable only in -M$P-Racing!
  5. #Paper

    Player Spawn

    How can I make admin command that when i do it, don't spawn me in next maps?
  6. #Paper

    Player Spawn

    How can I make just one player makes an admin command is not spawn in the next few maps, and just do another command to spawn again?
  7. why don't post the resource (the .zip file?)
  8. yes pls i don't understand nothing
  9. #Paper

    GetMapName()

    ty, but idk how to use it T_T
  10. #Paper

    GetMapName()

    Exist this function or others for get the current map name?
  11. #Paper

    Mute function

    This fuction don't unmute the source player... [b]All in server-side:[/b] function unmutep () setPlayerMuted(source, false) outputChatBox ("You can talk again!", source) end ------------------- setTimer( unmutep,30000, 1)
  12. fixxed pls help!
  13. There is this problem whit gm race: now show this errror [2010-11-16 19:01:10] ERROR: race/race_server.lua:65: attempt to index global 'RaceMode' (a nil value)" for the lua file see my race_server.lua: http://pastebin.com/BFJ8xWkE
  14. #Paper

    IP Question

    mhhh ok, i will try
  15. #Paper

    IP Question

    i saw that in cfg server file there is the server ip field, if i modify it?
  16. #Paper

    IP Question

    I want to buy gta-multi.com host, but i've serverffs.com host, if i have this ip: 217.18.70.196:22126 can i set the same ip in the new host?
  17. #Paper

    Map Name

    why not possible? if i modify the meta.xml, the name field?
  18. #Paper

    Map Name

    How i can set the name of one map whit in-game cmd?
  19. This map is avaible on https://forum.multitheftauto.com/viewtopic.php?f=115&t=29172
  20. ahhahahahahahah wtf res?! nice res
  21. #Paper

    Costom Func

    What's wrong in this func? function savePlayerData (player,datatype,newvalue) local playerIP = getPlayerSerial(source) if (playerIP) then local root = xmlLoadFile ("users.xml") if (root) then local usersNode = xmlFindChild (root,"user",0) if (usersNode) then local playerRootNode = xmlFindChild (usersNode,"SERIAL_" .. getPlayerSerial(player),0) if not (playerRootNode == false) then local newNodeValue = xmlNodeSetAttribute (playerRootNode,datatype,newvalue) xmlSaveFile ("users.xml") xmlUnloadFile ("users.xml") return newNodeValue else local playerRootNode = xmlCreateChild (usersNode,"SERIAL_" .. getPlayerSerial(player)) local newNodeValue = xmlNodeSetAttribute (playerRootNode,datatype,newvalue) xmlSaveFile ("users.xml") xmlUnloadFile ("users.xml") return newNodeValue end end end end end
  22. #Paper

    GhostMode

    i had tried to make an autogmactivator but don't work ;S addEvent("onMapStarting") function gm() setElementData( thePlayer, "overrideCollide.uniqueblah", 1, false ) end addEventHandler("onMapStarting",getRootElement(),gm)
  23. #Paper

    Votemanager

    Hi All! I changed my votemanger to report only two options: random map and play again, how can I do that after you click once on the replay at the end of the map you go directly to a random map without showing the vote?
  24. it's custo functions, i'm making a gui and ranking fir PointSystem res... it's don't copied script... -.-"
  25. not this time...
×
×
  • Create New...