SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: cessil
Forum: Scripting Help 04/01/2019, 08:10 AM
Replies: 13
Views: 1,048
Posted By cessil
Re: Get playerid from listitem.

with format and pvar you still need to enter the thousands for it to start taking over 1ms
Forum: Scripting Help 04/01/2019, 12:04 AM
Replies: 13
Views: 1,048
Posted By cessil
Re: Get playerid from listitem.

when you say PVars are slow you're talking tens of thousands of a millisecond like 0.00023 ms according to some speed tests, meaning you'd have to use over ten thousand in the one function to notice...
Forum: Screenshots and Videos 02/01/2019, 02:36 AM
Replies: 6
Views: 733
Posted By cessil
Re: Path finding in pawn

If the gamer z plugin does the exact same thing but faster I don't see a point in doing so


oh yeah I forgot I was going to make a text draw saying things like left turn in x m, another idea just...
Forum: Everything and Nothing 01/01/2019, 06:46 AM
Replies: 24
Views: 2,865
Posted By cessil
Re: A* Pathfinder (3D map) in samp

I was thinking over this, I haven't looked too much into Col Andreas, but it seems to have stored collision objects as vectors and then rebuilds the polygons.

from that data you could possibly...
Forum: Screenshots and Videos 01/01/2019, 04:54 AM
Replies: 6
Views: 733
Posted By cessil
Path finding in pawn

background
I started this project around 2015 just to see if I could remake what I believe would have been the hardest part of Crazybob's CnR script, then I got bored, lacked motivation and dropped...
Forum: Scripting Help 11/03/2018, 12:36 PM
Replies: 28
Views: 1,083
Posted By cessil
Re: Getting the player kills?

yes, you're using sscanf wrong and using playerid instead of id
Forum: Scripting Help 11/03/2018, 12:10 PM
Replies: 28
Views: 1,083
Posted By cessil
Re: Getting the player kills?

it's possible the code is cancelled before it reaches the part where it changes the variables, the rest seems fine.
post the whole OnPlayerDeath

GetPlayerName(id, PlayerName, sizeof(PlayerName));...
Forum: Scripting Help 05/03/2018, 03:08 AM
Replies: 23
Views: 1,253
Posted By cessil
Re: hacker killing everyone

you will need to set them on the same team and then process the damage yourself, just copy and pasting will not work
Forum: Scripting Help 05/03/2018, 02:47 AM
Replies: 23
Views: 1,253
Posted By cessil
Re: hacker killing everyone

We're not talking about fake kills, and I said it's a temporary measure that won't get rid of the problem completely.
However fake kills won't trigger it because it's using OnPlayerGiveDamage.
Forum: Scripting Help 05/03/2018, 02:02 AM
Replies: 23
Views: 1,253
Posted By cessil
Re: hacker killing everyone

And you should add detection for fast bullet shots, ammo loss, if they have the weapon, distance, etc.
I did ask you to post your attempt, this section is for helping others not scripting for...
Forum: Everything and Nothing 05/03/2018, 01:31 AM
Replies: 25
Views: 1,887
Posted By cessil
Re: Just a question I was curious about.

it's much more likely you just had connection issues
Forum: Scripting Help 05/03/2018, 01:06 AM
Replies: 23
Views: 1,253
Posted By cessil
Re: hacker killing everyone

Show your attempt, I set up my anticheat so everyone is on the same team and I can process all damages and discard or multiply damage to every bullet shot.
It's not something I can just show a small...
Forum: Scripting Help 04/03/2018, 07:21 AM
Replies: 23
Views: 1,253
Posted By cessil
Re: hacker killing everyone

that shows someone standing still and shooting people thousands of units away, you could add a couple checks that I can think off IsPlayerStreamedIn and also if the cheater has that weapon, as well...
Forum: Everything and Nothing 16/01/2018, 10:04 AM
Replies: 271
Views: 24,270
Posted By cessil
Forum: Everything and Nothing 13/01/2018, 05:46 AM
Replies: 67
Views: 4,769
Posted By cessil
Re: What's your new year resolution?

I don't know how you intend on buying a new e46
Forum: General 26/12/2017, 01:58 PM
Replies: 5
Views: 756
Posted By cessil
Re: Just some curiosities

huh? I have never leveled up in real life, what's the point?
Forum: Discussion 16/11/2017, 11:59 PM
Replies: 3
Views: 1,342
Posted By cessil
Re: Path nodes to zone polygons?

yes there would be if you scripted it to since you could grab a node and run a loop to grab all it's neighbours till it runs into an intersection
Forum: Discussion 08/11/2017, 04:22 PM
Replies: 3
Views: 1,342
Posted By cessil
Re: Path nodes to zone polygons?

yes there are nodes and from them you can determine several things like if a player is driving on the wrong side of the road or on a road at all, you could also attach names to the roads to display...
Forum: Scripting Help 18/02/2017, 08:51 AM
Replies: 3
Views: 455
Posted By cessil
Re: fakecmd doesn't effects

you don't need it to be a remote function, you can use CallLocalFunction with the "OnPlayerCommandText" function not string2
Forum: Everything and Nothing 17/02/2017, 02:24 PM
Replies: 42
Views: 6,220
Posted By cessil
Re: Anti-Cheat (Why are people so greedy tho...)

You're acting like you cannot make a server side anti cheat when just about every server has one.. as for an open source client side anti-cheat.. you've already been told several times why your way...
Forum: Scripting Help 30/12/2016, 03:45 PM
Replies: 11
Views: 1,113
Posted By cessil
Re: Weapon hack check

yes as expected, things that happen in online games are not instant, they take time.
when you set a variable it's instant, when you give someone a weapon data has to travel to their client and then...
Forum: Scripting Help 12/12/2016, 02:28 AM
Replies: 14
Views: 1,404
Posted By cessil
Re: Performance Question , Per Player Timer vs Timer that loops through all players

I didn't suggest to save every time it's called, reread my post if you don't understand
Forum: Scripting Help 11/12/2016, 10:14 AM
Replies: 14
Views: 1,404
Posted By cessil
Re: Performance Question , Per Player Timer vs Timer that loops through all players

pretty sure 99.9% of forum users are amateurs in scripting for sa-mp
performance wise it the different timers won't matter, the only slow down I could foresee is the writing method, but since its...
Forum: Everything and Nothing 31/07/2016, 04:45 AM
Replies: 12
Views: 1,004
Posted By cessil
Re: Removing

so what did the warning say?
Forum: Scripting Help 09/06/2016, 11:03 AM
Replies: 12
Views: 2,575
Posted By cessil
Re: Check if string contains an IP address

wrote this a long time ago
http://pastebin.com/VFvRQEEA

but they will just go around it if you let them know you blocked their text, what I did was put them on ignore for everyone else so they'd...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.