wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 12:59 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: September 10th, 2013, 10:51 am 
Offline
Junior Member

Joined: March 3rd, 2008, 2:41 pm
Posts: 33
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 !


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: September 10th, 2013, 1:22 pm 
Offline
Member

Joined: September 10th, 2012, 6:39 am
Posts: 75
Find function fukki_active3
Quote:
function 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


change it to

Quote:
function 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


name activator
Quote:
call 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


edit: i didn't test it tell me if it's not working

_________________
Like in fb -> Dota Cheated Maps

Sorry for my bad english because english is not my native language. :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Majestic-12 [Bot] and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)