Jump to content

MetaGamer

Members
  • Posts

    233
  • Joined

  • Last visited

Everything posted by MetaGamer

  1. Well It works fine before 25 days or so. After then this issue happened. It maybe a virus as it only happen to me.
  2. Do I have to portforward or something?
  3. Are you mad? I just posted with best suggestion ever and there is just another title with best suggestion ever. Thats not being original, probably with 1 week with my post inactive, there you will post something with best suggestion ever. Sorry to say but that's the worst suggestion ever. It doesn't make sense at all.
  4. Is there any MTA:SA .NET Toolkit for developing mta apps? For example, I would create an Application Server Browser for my personal use.
  5. Still they are disappearing but at a slow speed. Very unique issue.
  6. Yep it works sometimes. BTW if it didn't have any net access then how come it list all the server names at the first place?
  7. So anyone have any idea how to fix this problem? or anyone have faced this same problem?
  8. It's fixed with getTeamFromName. Mods you can now lock this thread!
  9. Server function PlayerLogin() setPlayerTeam(source, "Explorer") end Client addEventHandler('onClientResourceStart',getResourceRootElement(getThisResource()),function() Explorer = createTeam ( "Explorer", 0, 0, 0 ) end)
  10. Plus I cannot play on most of the servers for Connection Timed Out
  11. Can someone please explain me why that is happening?
  12. How do I have switch statement in lua? Can someone give me an example switch statement script? It's very annoying to write if, elseif multiple times.
  13. awesome man very awesome!!
  14. good work and please buddy update the MTA Script Editor.
  15. I have been searching alot, but didn't find an event which is triggered after downloading has been completed.
  16. Hi guys, do you know how to make an operating system like Microsoft? No we don't
  17. thanks for helping me out!
  18. So this is the code main_client.lua GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Image = {} function giveWeapon(wID, wAmmo) triggerServerEvent("giveW", getLocalPlayer(), wID, ammo) end function showWelcomeMessage() GUIEditor_Window[1] = guiCreateWindow(208,274,343,289,"Stanopolo",false) guiWindowSetMovable(GUIEditor_Window[1],false) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Image[1] = guiCreateStaticImage(68,40,203,40,"images/logo.png",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(13,78,316,169,"Welcome to the Stanopolo server.\n\n\nCurrent Version: [Alpha 1.0]",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(122,260,92,20,"OK",false,GUIEditor_Window[1]) addEventHandler("onClientGUIClick", GUIEditor_Button[1], btnOK_Click, false) end function btnOK_Click() guiSetVisible(GUIEditor_Window[1], false) end main_server.lua function PlayerLogin() local x = 1949 local y = -3223 local z = 5 local name = getPlayerName(source) spawnPlayer(source, x, y, z) fadeCamera(source, true) setCameraTarget(source, source) setElementModel(source, 288) gW(8, 1) outputChatBox("Welcome to the Stanopolo " .. name, source) showMessage() end addEventHandler("onPlayerLogin", getRootElement(), PlayerLogin) function gW(gid, gammo) giveWeapon( source, tostring(gid), tostring(gammo) ) end addEvent("giveW", true) addEventHandler("giveW", getRootElement(), gW) The error is attempt to call global 'showWelcomeMessage' (a nil value)
×
×
  • Create New...