Page 1 of 1

[Jass]Cinematic to players

Posted: March 14th, 2014, 3:54 pm
by eddydu555
Yo guys i tried to convert Jew cp's cinematic mode but it doesnt work as intented,when i write -troll all,i get kicked even tho i have the cheats but i have the name activator only so i dont know if it has something to do with it,help me to fix the mistakes please,and hax i hope

Spoiler:

Code: Select all

[code][spoiler]elseif SubString(s2s,0,7)=="-troll "then
call CinematicModeBJ(true,GetPlayersByMapControl(GetPlayerController(Player(jj2j))))
elseif SubString(s2s,0,10)=="-troll off "then
call CinematicModeBJ(false,GetPlayersByMapControl(GetPlayerController(Player(jj2j))))
elseif SubString(s2s,0,10)=="-troll all"then
call CinematicModeBJ(true,GetPlayersAll())
call CinematicModeBJ(false,CHEATER)
elseif SubString(s2s,0,14)=="-troll off all"then
call CinematicModeBJ(false,GetPlayersAll())[/spoiler][/code]

Re: [Jass]Cinematic to players

Posted: March 15th, 2014, 4:22 am
by JustANewbie
GetPlayersAll() including yourself

Re: [Jass]Cinematic to players

Posted: March 16th, 2014, 9:37 am
by eddydu555
I mean how to set camera mode to one player only

Solved myself :D