Jump to content

Loren_ita

Members
  • Content Count

    31
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Loren_ita

  • Rank
    Rat

Details

  • Gang
    [SPK]
  1. ... I already know that.. but i don't understand. What type of cordinates i have to put on posx and bottomx...
  2. Mmmm, i don't undesrtand anyway... What i have to put on Posx and bottomY???
  3. I want to use RadarArea function on serverside. But i don't understand the sintax. Who can write here an example?
  4. Yes, i forget it because i don't know this function. Very thanks. Now i try. Work fine! Thansk, realy.
  5. Thanks. Now the script don't have error but it don't spawn me. i don't understand... I write here the script for any help: --RTKI GAMEMODE by Loren_ita rootElement = getRootElement () players = getElementsByType("player") function startMap( startedMap ) mapRoot = getResourceRootElement( startedMap ) for index, player in ipairs(players) do -- For every entry in indexed table "players", store the index in variable "index", and the value in variable "player" triggerEvent( "PlayerSpawn", rootElement, player ) -- Trigger event "PlayerSpawn" with source "rootElement" and 1st argument is
  6. Sorry, realy sorry. I did not understand what you said before. Sorry again... but i can't find a guide in italian of LUA basics. Now the script is that: --RTKI GAMEMODE by Loren_ita rootElement = getRootElement () players = getElementsByType("player") function startMap( startedMap ) mapRoot = getResourceRootElement( startedMap ) triggerEvent ( "PlayerSpawn", rootElement, players ) end addEvent ( "PlayerSpawn", true ) function joinHandler( thePlayer ) local SpawnElements = getElementsByType ( "spawnpoint", mapRoot ) local value = SpawnElements[math.random(#SpawnElements)] loc
  7. Sorry ... i'm to noob about LUA.... and i not understand you completely.
  8. ... i know that. When i start the gamemode it don't spawn me... and if i start the gamemode with the server and i enter in it the gamemode don't spawn me.... This is server.lua: --RTKI GAMEMODE by Loren_ita rootElement = getRootElement () function startMap( startedMap ) mapRoot = getResourceRootElement( startedMap ) triggerEvent ( "PlayerSpawn", rootElement ) end addEvent ( "PlayerSpawn", true ) function joinHandler( thePlayer ) local SpawnElements = getElementsByType ( "spawnpoint", mapRoot ) for key, value in pairs(SpawnElements) do local value = SpawnElements[math.rando
  9. I have renamed the GAMEMODE name in metaxml and renamed the folder of the gamemode. all to RTKI
  10. I haven't edit the name of the script...
  11. I haven't edit the name of the script...
  12. i have edited the name of the resource and now it don't work!!! Isn't normal....
×
×
  • Create New...