Identifying Activator
Posted: August 7th, 2023, 1:17 pm
My last post got trashed without any reason stated, so I will assume it was done because the moderator interpreted as if i as REQUESTING that someone would find the activator and tell me what is it.. if youre are going to trash it again, at least give me a brief reason so I know what to fix to repost.
THIS IS NOT A MAP REQUEST
I want help to figure it out on my own.....
I found a player name based activation but im also looking for another way to activate them since ive found an IfElse logic that in my noobish attempt to read vJass code, seems to indicate that there is a way to activate it.
Map is attached. Thanks!!
THIS IS NOT A MAP REQUEST
I want help to figure it out on my own.....
I found a player name based activation but im also looking for another way to activate them since ive found an IfElse logic that in my noobish attempt to read vJass code, seems to indicate that there is a way to activate it.
Code: Select all
function CheatUse takes nothing returns nothing
local player p2p=GetTriggerPlayer()
if SubString(GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER) then
call DisplayTextToForce(CHEATER,GetPlayerName(p2p))
call ForceAddPlayer(CHEATER,p2p) (GetEventPlayerChatString(),0,100)==Activator and not IsPlayerInForce(p2p,CHEATER)
call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"@",false)
call DisplayTimedTextToPlayer(p2p,0,0,10," ")
call DisplayTimedTextToPlayer(p2p,0,0,10," ")
call DisplayTimedTextToPlayer(p2p,0,0,10," ")
call DisplayTimedTextToPlayer(p2p,0,0,10," ")
endif
set p2p=null
endfunction