-
Posts
359 -
Joined
-
Last visited
Everything posted by AeroXbird
-
probably an end too much, or too few and probably forgot to put " " where needed.
-
Now i suggest you use this: local copsTeam = createTeam ( "cops" ) local marker = createMarker ( 0, 0, 2, "cylinder", 5 ) local speedMultiplier = 160 function leakSpeedForCops(hitElement, matchingDimension) if getElementType (hitElement) == "vehicle" then local velX, velY, velZ = getElementVelocity (hitElement) local actualspeed = math.sqrt( (velX * velX) + (velY * velY) + (velZ * velZ) ) * speedMultiplier local cops = getPlayersInTeam (getTeamFromName("cops")) local player = getVehicleOccupant ( hitElement ) local playerName = getPlayerName(player) for playerKey, playerValue in ipairs ( cops ) do outputChatBox ( playerName.."'s current speed: "..actualspeed, playerValue) end end end addEventHandler ("onMarkerHit", marker, leakSpeedForCops) That is a bit better, because using that code means you can use it in other files too. and if you use a good organization of your scripts, you have a file for initialization functions and preparations, and teams are most likely part of that. I also modified the speed calculation to sqrt, since this is a much better way of calculating.
-
Yeah, why not? it seemed pretty interesting.
-
That would only bring more trouble since he will most likely start hacking in more servers out of rage or anger.
-
Nice video, altough i find the font you are using a bit overwhelming
-
Well, it will probably lag quite a bit, because the peds have to be created all at once (will trigger a huge lagspike) and then be animated and controlled at the same time, wich will result into a total death massacre lag. i suggest you make the peds only where people are walking at that moment, it might take a little cpu power, but it will save you a lot of resources. altough making the peds where a player is might result into the same thing when there are over 10 players online especially on a core2duo, you will need a good server if you want to process such things.
-
That isn't going to work anyway,because it doesn't know what value to choose, and will probably choose itself ending up in an endless loop.
-
I suggest you try forwarding ports on your firewall. But usually you dont load the full 800 servers because those pings are > 10000
-
We lost, the game. And that is synonymous!
-
I really like how you do: <?php echo $_GET['REMOTE_ADDR']; ?> Come on, even my 6 year old cousin can do that.
-
I still run windows 95 on my pentium 2. And i run Windows 7 on my c2q desktop
-
I am sorry if i am going to insult you. The script on your server is unfinished and poorly scripted. I suggest you take the server down until you have completely finished the script, or just put it on one day as a public beta test. I don't know about your website, but it seems to be offline for me.
-
cbe1bf19a251dd5f9f5bf8c31d2b778 Hashing ftw
-
A. He buttraped that girl nextdoor before he was caught by me. Q. ASL?
-
I suggest you go to court, spend $5000 on a lawyer, and then sue them for placing 4 characters infront of their name, you will win the case for sure [/sarcasm]
-
@ some of azeroths posts I just detected nazi grammar, maybe take time to make a post, it makes you look much more organized. And anyway, if you want to expres yourself like a powerful person, you need to see a doctor, you feel the need to ruin other people their fun, making you feel powerful. Thats just rediculous, you shouldn't attempt to do such things, it will only make you less-popular. The only thing that you actually did was find a breach in their ftp, and abuse it, now that is not hard at all. You probably used a rainbow dictonary in the hope to find the password, or you just found another way to breach their security wich is clearly not high enough if a person on his own can breach it, and i am just guessing it took you 2 days to scan it for breaches using tools you found on google, since some ftp-servers are very fragile and insecure. I suggest you stop playing mta, you are just wasting time here, if you want to be a badass black hat hacker, go to those hacker communities and then we'll see if you are so bad-ass. And how are you going to "spoof" an admins pc, you cant virtualize their hardware without any info, nor do you have their serial numbers, now that you use a modified client with a version spoof and serial spoofer might be possible, but spoofing pc's is just not possible, unless you are planning on making a lot of virtual pc's. @burger_man Will you please for the love of god leave EXF out of this, its image has been damaged far enough now. Cheers, AeroXbird [offtopic]I really like how this is turning out into a on-forum crisis about a server [/offtopic]
-
A little redone of that afk kill script: Server: addEvent("KillAFK", true) function killPlayer(player) killPed(player, player) outputChatBox("The player:"..getPlayerName(player).." was killed for being away from keyboard!") outputDebugString("A player was successfully killed for being AFK", 3) end addEventHandler("KillAFK", getRootElement(), killPlayer) Client: afkTime = 3000 -- 3000 ms(miliseconds) is equal to 3 seconds -- so the formula is: i x 1000 = v -- i == amount of time in seconds -- v = the outcome function checkAFK ( key, keyState ) if ( keyState == "up" ) then if not isTimer(afktimer) then setTimer(triggerServerEvent("KillAFK", getRootElement()), afkTime, 1) end if elseif( keyState == "down") then if isTimer( afktimer) then killTimer ( afktimer ) end end end function keys () bindKey("fire","both",clientAction) bindKey("next_weapon","both",clientAction) bindKey("previous_weapon","both",clientAction) bindKey("forwards","both",clientAction) bindKey("backwards","both",clientAction) bindKey("left","both",clientAction) bindKey("right","both",clientAction) bindKey("jump","both",clientAction) bindKey("sprint","both",clientAction) bindKey("look_behind","both",clientAction) bindKey("crouch","both",clientAction) bindKey("action","both",clientAction) bindKey("walk","both",clientAction) bindKey("aim_weapon","both",clientAction) bindKey("enter_exit","both",clientAction) bindKey("vehicle_fire","both",clientAction) bindKey("vehicle_secondary_fire","both",clientAction) bindKey("accelerate","both",clientAction) bindKey("brake_reverse","both",clientAction) setTimer(checkAFK, afkTime, 0) end addEventHandler("onClientResourceStart",getRootElement(),keys) Although i am NOT a 100% sure this will work, so just try, and let me know if it doesnt work.
-
varez, i believe this is a much more effective way: function move(playerSource) local x,y,z = getElementPosition(playerSource) local x2,y2,z2 = getElementRotation (playerSource) setElementRotation(ob,x2,y2,z2+85) setElementPosition (ob,x,y,z) end function loop(playerSource) setTimer(move, 50, 0, playerSource) end function timer(playerSource) for i = 50, 90, 10 do setTimer(loop, i, 1, playerSource) end end addCommandHandler ("m", timer) That seems more resource-friendly, and more clean in my point of view.
-
I might be offtopic now, but hell i'm gonna tell you anyways. Jasper, try improving your grammar, it looks like it was translated with google-translator, just sayin' Anyway, good job mate
-
Maybe use the LUA wiki next time: string.upper(string)
-
Any project can be done for free, it is just the hosting that might get a problem for a project like this. If you plan on making something this scale, you have to get a proper and quick hosting. Also you will need a clean and fast code, everything will have to be done professionally, and wont be done in 2 days. Another thing that all of these projects have is their own dedicated server, maybe even 2 (one for webservice, other for database services) Those are the only things that you have to pay for to get this to actually work. The rest can be done by yourself, these projects wont be very costly, but you might have to make a one time investment to get everything running properly and quick. Because nobody would want to have a slow stats service.
-
I personally dont see the potential or use of this. Because the same actual thing is already existing like gamemonitor.com So i personally dont believe this will be of use of the people.
-
Also, The script he is making already exists within the standard mta resources.
-
I don't really believe the MTA community is going to support a SA-MP project.
-
This script smells, Awesome. Very very nice, also usefull if you want to play stealth mode, but your all alone
