Rouzbeh

Members
  • Content Count

    63
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Rouzbeh

  • Rank
    Snitch
  • Birthday 21/01/1995

Details

  • Gang
    grove street

Recent Profile Visitors

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

  1. Rouzbeh

    Lag Shot

    Cpu(s): 9.9%us, 2.1%sy, 0.0%ni, 86.3%id, 1.0%wa, 0.3%hi, 0.3%si, 0.0%st Mem: 1020124k total, 924948k used, 95176k free, 148540k buffers Swap: 2097148k total, 28256k used, 2068892k free, 329600k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 26346 root 20 0 1108m 294m 5536 S 11.6 29.6 4111:29 mta-server64
  2. Rouzbeh

    Lag Shot

    hi i have big problem in my own server. all players have lag shot!!! why?
  3. Rouzbeh

    Weapon Bug!

    hi sometimes giveweapon not sysnce for all players and players doesn't get damage... for example player 1 shoot player 2 with deagle but player 2 not damage and see player 1 boxing with free hands! sometimes is okay and sometimes bug! whats the problem?!
  4. Trust me , i had sa-mp server for many years and saw players advertise like this: ip: 185 87 183 90 (press enter instead of '.' or write ip without '.' i dont want ban numbers, i just wanna it report it to admins
  5. For Example You Write: "my ip is 110 229 10 30" OR say "ip is 180", i want it be detected
  6. hello guys. i am looking for best way to detect ip in strings and also i want it detect when a text contains numbers higher than 10 help plz?!!!
  7. hi again i need some idea for make vehicles undamagable or damage proof while vehicle is empty i had tried cancelEvent on 'onVehicleDamage' and its okay , vehicle health does'nt change, BUT vehicle's appearance take damage like doors hood glasses and etc... this is important for me cuz im working on RPG Server... any idea how to prevent that?
  8. yes i did tried dealman's way and i have an idea: i have a car alert system and i can add and put ped in vehicle when player lock his/her vehicle from outside and remove when unlock... so players can't push personal vehicles when that vehicle locked ... i think this is best way...
  9. hmm, this way have problems like when an another car hit or accident to the car will not move.... and maybe more bugs happend... as i know that rp server did'nt freeze car... server name was: Owl-Gaming
  10. i saw that in a MTA RP Server! and was very cool system i already tried increase mass of vehicle but not work....
  11. Hi, im working on a rpg server. i want when a player do handbrake then players can't Push that vehicle (just players, not other vehicles), i have vehicle system include handbrake and etc , just need an idea for how to make this 'Anti Vehicle Pushing'? i did tried freeze vehicle, but this is not good idea and socks for RPG...
  12. ow very thanks, finally... u got my means
  13. come on!!!... i Said when i shutting Down Server so all resources stop ... i add "onResourceStop" event to save data to database, im not noob at all, but i just looking for a way can set a resource stop at last as others when i shut down mta server! Server stopped! [2016-01-03 03:06:15] Stopping resources................................................. [2016-01-03 03:06:19] ERROR: work\server.lua:27: exports: Call to non-running server resource (sql) [string "?"] [2016-01-03 03:06:19] ERROR: afk\Server.lua:49: exports: Call to non-running server resource (sql) [string "?"] [2016-01-03 03:06:27] Closing SQLite3 database here sql resource stoped before 'work' and 'afk' resources so "onResourceStop" could'nt do export.sql:something()... i want set 'sql' Resource close after all resources
  14. Try This: function render() if isPedInVehicle(localPlayer) then local vehicle = getPedOccupiedVehicle (localPlayer) local occupants = getVehicleOccupants(vehicle) local PlayerName = getPlayerName(localPlayer) local VehicleName = getVehicleName (vehicle) local cnt = 0 for i=0, 3 do if occupants[i] and isElement(occupants[i]) then cnt = cnt + 1 else break end dxDrawText(" #FF0000PASSAGEIROS: #FFFFFF" .. tostring(cnt) .. "/4 ", x*870, y*640, x*716, y*351, tocolor(255, 255, 255), x*1.7, "default-bold", "center", "top", false, false, false, true) end end end addEventHandler("onClientRender", root, render)
  15. sql is running on server, i need when i shut down server, sql resource close at last and after all resources [This was Happend because sql resource closed before those resources]