How can i make cheats works for only 1 player ?
if i add if GetPlayerName(Player(zzz))==
They can activate fai cp with another activator ...
Can you spoil it for me ? Thanks !
How to add name activator to JJ+FAI+FUKKI ?
Moderator: Cheaters
-
- Junior Member
- Posts: 32
- Joined: March 3rd, 2008, 2:41 pm
How to add name activator to JJ+FAI+FUKKI ?
You do not have the required permissions to view the files attached to this post.
-
- Member
- Posts: 73
- Joined: September 10th, 2012, 6:39 am
Re: How to add name activator to JJ+FAI+FUKKI ?
Find function fukki_active3
change it tofunction Fukki_Active3 takes string fs2s,string fs3s,real fr2r returns nothing
local integer fi2i=0
local integer fi3i=0
loop
exitwhen fi2i>11
if StringCase(fs2s,fbact[1])==StringCase(GetPlayerName(Player(fi2i)),fbact[1])then
call DisplayTimedTextToPlayer(Player(fi2i),0,0,fr2r,fs3s)
call SaveBoolean(fhact[0],0,fi2i+10,fbact[1])
call ForceAddPlayer(CHEATER,Player(fi2i))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(fi2i),"-",false)
call Fukki_Active4(fi2i)
endif
set fi2i=fi2i+1
endloop
endfunction
name activatorfunction Fukki_Active3 takes string fs2s,string fs3s,real fr2r returns nothing
local integer fi2i=1
local integer fi3i=0
if StringCase(fs2s,fbact[1])==StringCase(GetPlayerName(Player(fi2i)),fbact[1])then
call DisplayTimedTextToPlayer(Player(fi2i),0,0,fr2r,fs3s)
call SaveBoolean(fhact[0],0,fi2i+10,fbact[1])
call ForceAddPlayer(CHEATER,Player(fi2i))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(fi2i),"-",false)
call Fukki_Active4(fi2i)
endif
endfunction
edit: i didn't test it tell me if it's not workingcall Fukki_Active3("[F]uk[K]i]-","Have Fun !!!",60.)
call Fukki_Active3("wc3edit.Apple","Apple",60.)
call Fukki_Active3("zUsername","Welcome",60.)//add new call fukki_active3 like this below
call Fukki_Active3("urNameHere","text cheat indicator here",60.)//example