Jump to content

greacius

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by greacius

  1. the problem is: I am making an ASP.NET Page and how do you use JSON with ASP.NET?
  2. Hi! For a school assignment I needed to make a program that can color words and other stuff... I decided to make a LUA Script Editor.... Here is my first small release and itsa bit buggy but supports all the functions. Credits: Program - Greacius Functions XML - Unofficial Script Editor (50P) I'm going to work on this program and make it better! [attachment=0]LUA Editor.zip[/attachment]
  3. I now have a new question: what arethe names of the post arguments? Thanks!
  4. I found that callRemote only supports POST variables but what are the names of them? And about the PHP SDK: I don't use PHP.. as you can see on the URL. Thanks
  5. I found the problem: It cannot use the GET variable... now the problem is: how to use any get variable?
  6. it is added in the admin acl and there isnt any acces denied error..... someone has the same problem? and what do you mean with valid? Its a website and it isnt special used for mta.. here is my code: function CallBack(CallBackInfo,ERRORCODE) if (CallBackInfo ~= "ERROR") then outputDebugString("Function succesfully called with report: " ..CallBackInfo.. " and code: " ..ERRORCODE) else outputDebugString("ERROR on sending report to MTAStats Server with error: " ..CallBackInfo.. " and code: " ..ERRORCODE) end end function NewPlayer() player = source if (player) then playername = getPlayerName(player) if (playername ~= "Player") then callRemote("URL STRIPPED" ..playername,CallBack) end end end addEventHandler("onPlayerJoin",getRootElement(),NewPlayer) function OldPlayer() player = source if (player) then playername = getPlayerName(player) if (playername ~= "Player") then callRemote("URL STRIPPED" ..playername,CallBack) end end end addEventHandler("onPlayerQuit",getRootElement(),OldPlayer)
  7. greacius

    Web request

    Hi, I'm making a resource that will register all stats of a server and sends it to a webserver. The only problem is: How to make a web request? If I use callRemote the webserver responds with cURL ERROR 22 but if I try to use it in my web browser, I don't get any problems. Thanks for your help! Mart P.S. Sorry for my bad english.
  8. I don't have that problem but can someone give me a answer on my quastion: can i help scripting for this resource? if you wan't to see the resource on my server go to: [sFG]Clan HoodWars RPG Server! 24/7! or press this link: mtasa://85.17.223.7:3000/
  9. ============================================================ DP 2.0 Drive System by: [sFG-L]Greacius ============================================================ Progress for next release: Uploading new Release! =Release 1.0:= Never released! =Release 2.0:= A system that uses Gravity changing to make your car's handling better! It has 4 options: ===Normal Mode=== = City Drive ==== = Highway Drive = ================= ====Race Mode==== = Drift Drive === = Anti Drift ==== ================= Used commands: /citydrive /highwaydrive /driftdrive /antidriftdrive =Release 3.0:= Now you need to buy the system at a shop marked with a blip! A system that uses Gravity changing to make your car's handling better! It has 4 options: ===Normal Mode=== = City Drive ==== = Highway Drive = ================= ====Race Mode==== = Drift Drive === = Anti Drift ==== ================= Used commands: /citydrive /highwaydrive /driftdrive /antidriftdrive For the progress go to this server: mtasa://85.17.223.7:3000/ https://community.multitheftauto.com/index.php?p= ... ils&id=305 ============================================================ DP 2.0 Drive System by: [sFG-L]Greacius ============================================================
  10. hey, i have a question! How do i get a table of numbers? cuz i wanna have all numbers for my server.... and... can i help with something? Bye!
  11. Hi, I downloaded this script and it is great! i added some stuff like paying to call and a time clock thing when you press button 6.... Don't you have any more ideas? Greetz, Greacius...
  12. enterhouse = createMarker ( -1418.4084, -261.6748, 27.1063, "ring", 1, 25, 50, 39, 75, ) setElementData ( enterhouse, "type", "enterhouse" ) exithouse = createMarker ( 1298.8835, -795.8101, 1084.0078, "arrow", 1, 25, 155, 45, 100 ) setElementData ( exithouse, ""type", "exithouse" ) function exitenter ( hitPlayer, matchingDimension ) if getElementData ( source, "type" ) == "enterhouse" then setElementInterior ( hitPlayer, 5, 1272.9116, -768.9028, 1084.5097 ) elseif getElementData ( source, "type" ) == "exithouse" then setElementInterior ( hitPlayer, 0, -1425.4689, -270.7399, 27.1067 ) end end addEventHandler ( "onMarkerHit", getRootElement(), exitenter ) Maybe try this or make a .map file.....
×
×
  • Create New...