Can anyone please tell me Something?

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
zamundax
Forum Fanatic
Posts: 342
Joined: October 8th, 2008, 4:21 pm

Re: Can anyone please tell me Something?

Post by zamundax »

how to add more names if q2q=="NAME" then
a second if q2q=="NAME" then
and 3 "endif"s at the end?
Spoiler:
Image
Kidn
User avatar
thanatos95
Forum Fanatic
Posts: 358
Joined: October 20th, 2008, 2:59 am
Title: Inactive Map Cheater
Location: Malaysia - Selangor

Re: Can anyone please tell me Something?

Post by thanatos95 »

If I Had No Wrong :
Spoiler:
function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local string q2q=GetPlayerName(GetTriggerPlayer())
if q2q=="NAME" or q2q=="NAME" or q2q=="NAME" then
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
endif
set p2p=null
endfunction


And You Can Add More

Code: Select all

or q2q=="NAME"

BEFORE THE then
Depends On How Many Name You Want....

Example You Need 5 Name, This Is The Code :
Spoiler:

Code: Select all

if q2q=="NAME" or q2q=="NAME" or q2q=="NAME" or q2q=="NAME" or q2q=="NAME" then


Just 2 endif Because It Is From The Same if
Image

ImageImage
Click To Feed My Living Reputation Counter
User avatar
zamundax
Forum Fanatic
Posts: 342
Joined: October 8th, 2008, 4:21 pm

Re: Can anyone please tell me Something?

Post by zamundax »

thanatos95 wrote:If I Had No Wrong :
Spoiler:
function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local string q2q=GetPlayerName(GetTriggerPlayer())
if q2q=="NAME" or q2q=="NAME" or q2q=="NAME" then
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
endif
set p2p=null
endfunction


And You Can Add More

Code: Select all

or q2q=="NAME"

BEFORE THE then
Depends On How Many Name You Want....

Example You Need 5 Name, This Is The Code :
Spoiler:

Code: Select all

if q2q=="NAME" or q2q=="NAME" or q2q=="NAME" or q2q=="NAME" or q2q=="NAME" then


Just 2 endif Because It Is From The Same if

You had it wrong i tried but ...
Spoiler:
Image
Kidn
User avatar
thanatos95
Forum Fanatic
Posts: 358
Joined: October 20th, 2008, 2:59 am
Title: Inactive Map Cheater
Location: Malaysia - Selangor

Re: Can anyone please tell me Something?

Post by thanatos95 »

zamundax wrote:You had it wrong i tried but ...


But What ?

I Tried On A Map It Works Well........
Image

ImageImage
Click To Feed My Living Reputation Counter
User avatar
zamundax
Forum Fanatic
Posts: 342
Joined: October 8th, 2008, 4:21 pm

Re: Can anyone please tell me Something?

Post by zamundax »

I tried it on dota and it failed
Here see for your self
You do not have the required permissions to view the files attached to this post.
Spoiler:
Image
Kidn
mysterio2910
Junior Member
Posts: 34
Joined: October 22nd, 2008, 11:31 am
Title: Yu-Gi-Oh Is Th3 BeSt
Location: Bintulu, Sarawak, Malaysia

Re: Can anyone please tell me Something?

Post by mysterio2910 »

Thankzz

I am now full with knowledge of cheating for specific user...


TQ..

Then how to close this POST?
I'm Playing Yu-Gi-Oh! OCG (Original Card Game). Anyone same interest with me can contact me through
My Hotmail: [email protected]
User avatar
zamundax
Forum Fanatic
Posts: 342
Joined: October 8th, 2008, 4:21 pm

Re: Can anyone please tell me Something?

Post by zamundax »

But i want a answer to my question
how to add more names if q2q=="NAME" then
a second if q2q=="NAME" then
and 3 "endif"s at the end?

Spoiler:
Image
Kidn
User avatar
BlueBean
Forum Staff
Posts: 237
Joined: October 24th, 2008, 8:37 am
Title: 87

Re: Can anyone please tell me Something?

Post by BlueBean »

zamundax wrote:But i want a answer to my question
how to add more names if q2q=="NAME" then
a second if q2q=="NAME" then
and 3 "endif"s at the end?



To add more names:

Code: Select all

if sp7=="NAME" or sp7=="NAME" or sp7=="NAME"then
User avatar
zamundax
Forum Fanatic
Posts: 342
Joined: October 8th, 2008, 4:21 pm

Re: Can anyone please tell me Something?

Post by zamundax »

Like this?
Spoiler:
function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local string q2q=GetPlayerName(GetTriggerPlayer())
if sp7=="NAME" or sp7=="NAME" or sp7=="NAME"then
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
endif
set p2p=null
endfunction
Spoiler:
Image
Kidn
User avatar
Senethior459
Forum Staff
Posts: 2619
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Can anyone please tell me Something?

Post by Senethior459 »

[quote="thanatos95"]
Spoiler:
function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
local string q2q=GetPlayerName(GetTriggerPlayer())
if q2q=="NAME" or q2q=="NAME" or q2q=="NAME" then
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false)
call DisplayTimedTextToPlayer(p2p,0,0,10,"|cff00BFFFCheats|r |cff00BFBAactivated!")
endif
endif
set p2p=null
endfunction

He was completely right. That's how you would do it.

The one you just posted is wrong, actually. The local statement that you added says q2q, yet the name check code you're using is sp7. Either change q2q in the local declaration to sp7, or change all the sp7 instances to q2q.
Or just copy the above function that thanatos posted; it's correct.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle