how to make cheatpacks auto activate when you start the map
Moderator: Cheaters
-
- Senior Member
- Posts: 105
- Joined: November 22nd, 2016, 3:48 pm
- Title: KappaPride
how to make cheatpacks auto activate when you start the map
Can somebody make a cheatpack(JJCP) that auto activates when it starts?(include tutorials ty)
-
- Member
- Posts: 75
- Joined: July 27th, 2014, 2:28 pm
- Title: 憂鬱夕暮れ姫
Re: how to make cheatpacks auto activate when you start the
In the JJ's cp for endglobals, search for function StringRaw2
Then you could find something like below.
You only need to change that username with the username you used.
WARNING!! It must be the exact with what you used.
Then you could find something like below.
Code: Select all
function StringRaw2 takes nothing returns nothing
local integer zzz=0
loop
exitwhen zzz>11
if GetPlayerName(Player(zzz))=="username"then
call DisplayTextToPlayer(Player(zzz),0,0,"|JJ's CP is activated|r")
call ForceAddPlayer(CHEATER,Player(zzz))
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
endif
set zzz=zzz+1
endloop
endfunction
WARNING!! It must be the exact with what you used.
-
- Senior Member
- Posts: 105
- Joined: November 22nd, 2016, 3:48 pm
- Title: KappaPride
Re: how to make cheatpacks auto activate when you start the
yes ik that is name activator.Can the cheat just activate for everyone in general when the map starts? ty for the reply though
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: how to make cheatpacks auto activate when you start the
well, still under stringraw2
you just have to make a loop, that adds the player(zzz) to the force
and this
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
without the if statement
you just have to make a loop, that adds the player(zzz) to the force
and this
call TriggerRegisterPlayerChatEvent(CHEATS,Player(zzz),"-",false)
without the if statement