Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About eXo|Flobu

  • Rank


  • Gang
  • Location

Recent Profile Visitors

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

  1. eXo|Flobu

    SQL =(

    if you use the executeSQL functions it will be saved the data to the intern server database of mta (MTA San Andreas\server\mods\deathmatch\registry.db) automatically. if you want to use an extern database you need a module like this http://wiki.multitheftauto.com/wiki/Modules/MTA-MySQL.
  2. eXo|Flobu

    Resolution Help

    i play MTA in 1440*900 and it works fine
  3. i dont know if the typestring of the markes are case sensitiv but this can be solve the problem the first ones are correct but the others have capitals in it "cylinder" "Cylinder" mfg flobu
  4. this is a working modestarter.lua without executeCommandHandler
  5. eXo|Flobu

    Images alpha

    too small resolutions with ratio 1:1 have trouble with the white border too but they have a small filesize.
  6. you need a function which gives all players of the server an amount of money http://development.mtasa.com/index.php? ... layerMoney givePlayerMoney ( player thePlayer, int amount ) for "player theplayer" you can use getRootElement() which means all players for "int amount" you use your own amount as number now you need the setTimer function http://development.mtasa.com/index.php?title=SetTimer setTimer ( function theFunction, int timeInterval, int timesToExecute, [ var arguments... ] )] as "function theFunction" you might use givePlayerMoney for "int timeInterval" you use th
  7. i us the window mod for gta:sa its only another d3d9.dll with this you can use alt+tab to tabbing to another programm like notepad++
  8. i got this error sometimes i try it many times and usually it works
  9. the money must set when a player login not when he join function onPlayerQuit ( ) -- when a player leaves, store his current money amount in his account data local playeraccount = getClientAccount ( source ) -- check if the account is a guest account or not if not isGuestAccount( playeraccount ) then local playermoney = getPlayerMoney ( source ) local suc = setAccountData ( playeraccount, "money", playermoney ) end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) function onPlayerLogin ( ) -- wh
  10. this work but i don't know how i would use the y rotation because this changes the z rotation. I don't know in which ways it changes. the coordinates are not exactly correct because of rounding variables in lua script and its trigonometric functions function calculatePosition3D(xOld, yOld, zOld, rx, ry, rz, distance) local xNow,yNow,zNow local a = math.cos(math.rad(rx))*distance xNow = xOld - math.sin(math.rad(rz))*a yNow = yOld + math.cos(math.rad(rz))*a zNow = zOld + math.sqrt( distance^2 - a^2 ) return xNow,yNow,zNow end sry for my bad english
  11. you can find it in the mtaserver.conf file which is located in ...\MTA San Andreas\server\mods\deathmatch
  12. kickPlayer http://development.mtasa.com/index.php?title=BanPlayer and banPlayer http://development.mtasa.com/index.php?title=KickPlayer are server-only functions. they don't work on a clientside script you must use triggerServerEvent http://development.mtasa.com/index.php? ... erverEvent on the clientside script and add this event with kickPlayer or banPlayer on the serverside
  • Create New...