Jump to content

WASSIm.

Members
  • Posts

    1,411
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. 3alina wa 3alik ama ena manast3rfch bih
  2. local Vehicles = {} local showroomVehicles = { {602, -1946.3, 272.7, 35, 0, 0, 90}, -- This is filled in with the information of the alphaShowroom {429, -1946.3, 268.7, 35, 0, 0, 90} -- This with the info from the banshee } function () local sv = showroomVehicles for i=1,#sv do vehicles[i] = createVehicle(sv[i][1], sv[i][2], sv[i][3], sv[i][4], sv[i][5], sv[i][6], sv[i][7]) setVehicleLocked ( vehicles[i], false ) setVehicleDamageProof( vehicles[i], true ) setVehicleEngineState ( vehicles[i], false ) setVehicleFuelTankExplodable ( vehicles[i], false ) setVehicleColor ( vehicles[i], 255, 255, 255 ) setVehiclePlateText ( vehicles[i], getVehicleName(vehicles[i]) ) setElementFrozen ( vehicles[i], true ) end end
  3. WASSIm.

    Help SQL

    its working if have row. btw how fix ?
  4. WASSIm.

    Help SQL

    i fixed that problem but i have other like it . function not working if no row ERROR: 108: attempt to index a nil value function isPlayerBanned(thePlayer) if (thePlayer) then local IP = getPlayerIP(thePlayer) local serial = getPlayerSerial(thePlayer) if (getBan(serial)["banlSerial"]) or (getBanFromIP(IP)["banlIP"]) then return true else return false end else return false end end
  5. WASSIm.

    Help SQL

    HI GUYS. i have problem wit this code its not working and return nil function getBan(banlSerial) local result = exports["ZA"]:dbQueryZA( "SELECT * FROM bans WHERE banlSerial = ?", tostring(banlSerial)) if (result) then return tostring(result[1]) end end addCommandHandler("ban", function (thePlayer) outputChatBox(tostring(getBan(getPlayerSerial(thePlayer)).banlSerial)) end)
  6. WASSIm.

    Timer

    use onClientPedWasted
  7. you need to be custom ban system
  8. addEventHandler("onClientRender", root, function() local oxygen = getPedOxygenLevel(localPlayer) if (isElementInWater(localPlayer)) then dxDrawRectangle(900, 94, 266, 20, tocolor(0, 0, 0, 255), true) dxDrawRectangle(901, 95, 264*(oxygen/1000), 18, tocolor(8, 154, 246, 255), true) end end)
  9. PROBLEM WITH POST. how get post form rectangle. i can post function i need
  10. hi guys i have question. how create radar rectangle like this
  11. https://community.multitheftauto.com/in ... ls&id=2540 -_______-
  12. realy post some screenshot is better
  13. well this may be crazy but still it's possible to do it with binds. like you make 50 new accounts in one server and you bind login command to all 50 of them on keys from 1-9 and 0 and if there is just one person clicking at binds fastly,let's say he can press 6 keys very fast to make better spam so it would be 6*50 logins =300 per click and let's say that he presses those keys 5 times in a second, 300*5=1500 logins/logouts per second this is crazy but still possible. yes its not possible if with script addCommandHandler("cheatfake", function (source) for i=1, 300 do logOut(source) logIn(source, getAccount("amen"), "*******") end end)
  14. hi guys. i have problem on my server Is not showing in server browser. https://nightly.multitheftauto.com/ports/?d=5.231 ... odef=1&a=1 IP: 5.231.83.37 Port: 22003 HTTP Port: 22005
  15. WASSIm.

    Screen size

    use this to make window center CenterWindow
×
×
  • Create New...