Jump to content

battlefield

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

0 Neutral

About battlefield

  • Rank
    Civilian

Details

  • Gang
    newbie

Recent Profile Visitors

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

  1. Hi everyone. I got some kind a bug in server. When I go to mapping my server and save new map it deletes all resource data except meta.xml .map file and login script. If anyone had this promlem and got solution please help or otherwise this topic is just a warning for everyone to backup files before going mapping.
  2. I had same error but on server login I had to remove spaces in resource name and it worked.
  3. Thanks for that it works but i have problem at GUI. [2010-12-30 23:49:00] WARNING: Loading script failed: FunFlight1\client\gui4.lua:146: 'end' expected (to close 'function' at line 124) near '' function createKeypad() local sWidth, sHeight = guiGetScreenSize() local Width,Height = 142,276 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) keypadWindow = guiCreateWindow(X,Y,Width,Height,"Keypad",false) guiWindowSetSizable(keypadWindow,false) keypadButton1 = guiCreateButton(13,68,37,36,"1",false,keypadWindow) keypadButton2 = gu
  4. Hi it happend something strange to me that I had server online and went mapping. When I finished all of my resource data except of meta.xml .map and login script was deleted. Then I restored all of the data but now I have next warnings [2010-12-30 22:51:11] WARNING: FunFlight1\script4.lua:2: Bad argument @ 'addEventHandler' here is script4 addEvent("clientKickInactivePlayer",true) addEventHandler("clientKickInactivePlayer",root,kickInactivePlayer) function kickInactivePlayer() kickPlayer(client,"Please accept our rules.") end [2010-12-30 22:51:11] WARNING: Loading script fai
  5. welll a69 button ans that popup works fine now but timer still isnt't working i tried to put thet in but it isnt working function createRulesWindow() local sWidth, sHeight = guiGetScreenSize() local Width,Height = 445,445 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) rulesWindow = guiCreateWindow(X,Y,Width,Height,"Rules",false) guiWindowSetMovable(rulesWindow,false) guiWindowSetSizable(rulesWindow,false) rulesButton = guiCreateButton(137,394,158,37,"Accept",false,rulesWindow) rulesLabel = guiCreateLabel(10,2
  6. Anyways where is it coming from post reply's only if you have some kind of solution in your mind because I'm stuck in it.
  7. Hi I made teleport window from 3rd GUI tut but I want it to show only when player types /teleport in chat box not at startup and when I click one button on it cursor hides and rules window is still showing. Temporary solution was to open chatbox and click accept whith cursor. And I have allso problem whith a 69 button. When i click it nothing happens. Here are the scripts teleport function createTeleportWindow() local sWidth, sHeight = guiGetScreenSize() local Width,Height = 231,308 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) teleportWi
  8. Thanks rules windown works now but what about the top first script because login button doesnt show and after new script i can't even write in username and password
  9. Thanks but i cant get to login window because i have accept rules button problem if i click it nothing happens and server doesnt say any errors.Here is the script function createRulesWindow() local sWidth, sHeight = guiGetScreenSize() local Width,Height = 445,445 local X = (sWidth/2) - (Width/2) local Y = (sHeight/2) - (Height/2) rulesWindow = guiCreateWindow(X,Y,Width,Height,"Rules",false) guiWindowSetMovable(rulesWindow,false) guiWindowSetSizable(rulesWindow,false) rulesButton = guiCreateButton(137,394,158,37,"Accept",false,rulesWindow
  10. OMFG it works thanks man you helped a lot. Now it comes to another probem at login window I cant see Login button and whenever I press t it opens chatbox and in meanwhile I made second GUI script but when I press accept nothing happens.
  11. Hi! I have problem whith downloading client data. I start my server with MTA server.exe and go online to set resource. Then I go in MTA San Andreas and try to play on my own server but when it starts to download client data id says HTTP said error or something and throws me out of my server in main MTA menu. As the title says the script that I'm trying to download is login window. This is the script function createLoginWindow() local X = 0.375 local Y = 0.375 local Width = 0.25 local Height = 0.25 wdwLogin = guiCreateWindow (X, Y, Width, Height, "Pleas
  12. 1.When I do refresh it says four errors that are for resources that are WIP but it allso says something about couldn't parse met.xml file for editor_dump 2.,3. It works now thank you 4. check the whole topic for my script ( I don't have more scripts than that one yet ) And varez no you are not right i have meta file and one .map file and of course first script for making you spawn where you want.
  13. It says resource cannot be found but i have it there or should I just reinstall server data and keep my .map datas only? And if i can ask here I'd like to ask how to make that debugfile.log or that what is in debugging section?
×
×
  • Create New...