Jump to content

WASSIm.

Members
  • Posts

    1,411
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. WASSIm.

    small help

    if make this. its working 100% addEventHandler('onPlayerConnect', getRootElement(), function() local country = exports.admin:getPlayerCountry(source) if not (country == SA) then cancelEvent( true, "this server not allowed to your country!" ) end end )
  2. WASSIm.

    small help

    hi guys i have this script but not working ! why ? addEventHandler('onPlayerConnect', getRootElement(), function() local country = exports.admin:getPlayerCountry(source) if (country == SA) then cancelEvent( true, "this server not allowed to your country!" ) end end )
  3. WASSIm.

    problem

    some help pls ?
  4. https://wiki.multitheftauto.com/index.ph ... /Main_Page
  5. ala8alb ili m3aya mastanas yal3ab fi servers drift mta3 3arab 7amdolah konet m3ah raw radou 100% so3odi THX
  6. WASSIm.

    problem

    its exmple
  7. WASSIm.

    problem

    script working but can't connect file and this if delete file normally auto create but tell me outputDebugString ( "Failed to connect to file.db", 3 ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) connection = dbConnect( "sqlite", "file.db" ) if ( connection )then dbExec ( connection, "..." ) - JUST FOR EXMPLE outputDebugString ( "Successfully connected to file.db" ) else outputDebugString ( "Failed to connect to file.db", 3 ) end end )
  8. WASSIm.

    problem

    hi guyss. all file sql (.db) not working and if i want delete resource with admin panel not working i think problem server failed connected files. its working in my server local but in my server hosting not working! why ?
  9. n9admalkom awal server tonsi mhosti ama mazl makmalch ama tnajam tot5lo tala3bo fih Name: [TN] Tunisian Theft Auto | الأول خادم التونسي Gamemode: Drift Password (ki yabda fih): 1144 IP: mtasa://193.183.98.104:22007 Forum: http://ttamta.tk/ some screenshot:
  10. WASSIm.

    help!

    thank you i have other problem if start script or stop or restart show me like this: [admin]/admin/server/admin_server.lua:1183: Access denied @ 'startResource'
  11. WASSIm.

    help!

    hi guys. this script not working. why ? exports [ "scoreboard" ]:addScoreboardColumn ( "Occupation", root, 2, occupation, 70 ) function updatePlayersACLscore ( ) for index, player in ipairs ( getElementsByType "player" ) do setElementData ( player, "Occupation", getElementData ( player, "getPlayerACL") ) end end setTimer ( updatePlayersACLscore, 2500, 0 ) function updatePlayersACL ( ) for index, player in ipairs ( getElementsByType "player" ) do local accountname = getAccountName (getPlayerAccount(player)) if isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Console" ) ) then setElementData ( player, "getPlayerACL", Console ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Admin" ) ) then setElementData ( player, "getPlayerACL", Admin ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "SuperModerator" ) ) then setElementData ( player, "getPlayerACL", SuperModerator ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Moderator" ) ) then setElementData ( player, "getPlayerACL", Moderator ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Soldier" ) ) then setElementData ( player, "getPlayerACL", Soldier ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Police" ) ) then setElementData ( player, "getPlayerACL", Police ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Mechanic" ) ) then setElementData ( player, "getPlayerACL", Mechanic ) elseif isObjectInACLGroup ( "user." .. accountname, aclGetGroup ( "Everyone" ) ) then setElementData ( player, "getPlayerACL", Player ) elseif isGuestAccount ( getPlayerAccount ( player ) ) then setElementData ( player, "getPlayerACL", Guest ) else setElementData ( player, "getPlayerACL", N/A ) end end end setTimer ( updatePlayersACL, 500, 0 )
  12. WASSIm.

    Help!

    oh but i don't understand MySQL
  13. WASSIm.

    Help!

    NO. and if i want spawn car but spawn nothing
  14. WASSIm.

    Help!

    hi guys i ave problem. if i sell car i can sell again ! SERVER function sellSwitch (cost) if not (isGuestAccount (getPlayerAccount (source))) then if (getAccountData(getPlayerAccount (source), "funmodev2-car") ~= nil) then setAccountData (getPlayerAccount(source), "funmodev2-car", nil) givePlayerMoney ( source, tonumber (cost) ) setElementData (source, "hisCar", nil) removeElementData (source, "hisCar") outputChatBox ("You sell your car.", source, 255, 0, 0) else outputChatBox ("You dont have a car.", source, 255, 0, 0) end end end addEvent("sellSwitch",true) addEventHandler("sellSwitch",getRootElement(),sellSwitch )
  15. WASSIm.

    Question

    i think one hack can make console give acl admin to player. really ?
  16. WASSIm.

    Question

    yes. can tell me how hackers hack server ?
  17. WASSIm.

    Question

    hi guys i have question. how make script anti hack server ?
×
×
  • Create New...