Slap max 2?
Well ok I finally got my slapall to work but it only slaps 2 people at a time.
Is it a problem with my script, or is it not possible to slap more than 2 people at once. Code:
|
i see you are setting a task for the actuall slapping:
Code:
the formatting for this is incorrect, as shown by the definition... Code:
you seem to be passing the damage in the time slot by mistake, which may be causing the problem(s). you can slap everyone at once, yes :) here's one way of doing it with your current setup. Code:
This should work :) |
have you seen amx_holyslap or amx_uberslap
its funny. :o |
ive seen uberslap... id like to see a slap that makes u glow a color, then slaps u 99 times (each with 1 damage), and then (RIGHT AFTER) makes u a rocket and u fly!!!!! (and die)
Now thats a slap! |
ty very much Ryan, I will try your code then test it out. :D
|
Tested it worked like a charm.
|
8)
|
this by any chance cause lots of lag and could crash server like on a 32 player?
|
no, because it does it's thing, then stops. if you're running milisecond tasks all the time to check for stuff, ie- with potential that they may not even stop, then yes, you're going to lag the hell out of any server. but this code, no.
|
ok good I was thinking it might cause some lag.
|
| All times are GMT -4. The time now is 14:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.