"call Player(0)"
That should crash red, right?
Player(x) = crash?
Moderator: Cheaters
-
- The Flying Cow!
- Posts: 2196
- Joined: November 2nd, 2007, 10:34 pm
- Location: Melbourne
Re: Player(x) = crash?
Uh... If you added that to a script WC3 would just error because Player() isn't a function.
What you want is:
And then to crash someone, just do:
Replace x with the player number.
What you want is:
Code: Select all
function SendCrash takes player p returns nothing
if GetLocalPlayer()==p then
call ExecuteFunc("estserfserf")
endif
endfunction
Code: Select all
call SendCrash(Player(x))
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
AutoCP3 now available for free!
-
- Member
- Posts: 51
- Joined: April 29th, 2007, 12:19 pm
Re: Player(x) = crash?
constant native Player takes integer number returns player
But you're way looks like it will work. Thanks.
But you're way looks like it will work. Thanks.
-
- The Flying Cow!
- Posts: 2196
- Joined: November 2nd, 2007, 10:34 pm
- Location: Melbourne
Re: Player(x) = crash?
Oh.. In that case it is, but I don't think it would crash the player just like that.Anarki wrote:constant native Player takes integer number returns player
But you're way looks like it will work. Thanks.
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
AutoCP3 now available for free!
-
- Member
- Posts: 51
- Joined: April 29th, 2007, 12:19 pm
Re: Player(x) = crash?
In Island Defense, that is how they do their secret -crash command, by calling Player(victim).
-
- Some Honorary Title
- Posts: 1713
- Joined: June 8th, 2007, 5:08 am
- Title: Angry Bird
Re: Player(x) = crash?
calling player(0) will not descyn player 0!
the answer is already in the FAQ topic. Search a bit you will get it.
It will be either calling player(integer lesser than 0, ie -1, -2) or player(integer greater than 16, ie. 17, 18etc.).
w/e
the answer is already in the FAQ topic. Search a bit you will get it.
It will be either calling player(integer lesser than 0, ie -1, -2) or player(integer greater than 16, ie. 17, 18etc.).
w/e