The war3map.j is attached,
When I play it, it shows a message save is disabled in single player mode.
it doesn't kick but disable save.
I didn't find a disabletrigger(gg_trg_Sauvegarde either
call TriggerRegisterPlayerChatEvent(gg_trg_Sauvegarde,Player(9),"-save",true)
it is filled with booleans. please help me thanks alot.
Please teach me how to enable SP for this
Moderator: Cheaters
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Please teach me how to enable SP for this
You do not have the required permissions to view the files attached to this post.
-
- Forum Staff
- Posts: 762
- Joined: October 27th, 2009, 12:18 pm
- Location: Australia, GMT+8
Re: Please teach me how to enable SP for this
post the actual map as well
edit: meanwhile try changing
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=1)
to
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=0)
edit: meanwhile try changing
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=1)
to
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=0)
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: Please teach me how to enable SP for this
changed and it still says, "save is disabled in solo games".Kyoshiro wrote:post the actual map as well
edit: meanwhile try changing
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=1)
to
return(CountPlayersInForceBJ(GetPlayersMatching(Condition(function Trig_Initialisation_2_Func005Func003001001001)))<=0)
You do not have the required permissions to view the files attached to this post.
-
- Forum Staff
- Posts: 762
- Joined: October 27th, 2009, 12:18 pm
- Location: Australia, GMT+8
Re: Please teach me how to enable SP for this
Then you're doing it wrong.
Changing that 1 thing works perfectly for me.
Changing that 1 thing works perfectly for me.
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: Please teach me how to enable SP for this
It worked, here's another map that I need help with.Kyoshiro wrote:Then you're doing it wrong.
Changing that 1 thing works perfectly for me.
You do not have the required permissions to view the files attached to this post.
-
- Forum Staff
- Posts: 762
- Joined: October 27th, 2009, 12:18 pm
- Location: Australia, GMT+8
Re: Please teach me how to enable SP for this
what's the anti-sp method
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: Please teach me how to enable SP for this
When you type -save it doesn't show you the code.Kyoshiro wrote:what's the anti-sp method
-
- Forum Staff
- Posts: 762
- Joined: October 27th, 2009, 12:18 pm
- Location: Australia, GMT+8
Re: Please teach me how to enable SP for this
i dunno don't have time to test properly but try changing
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)==0)
to
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)>0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)<0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)!=0)
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)==0)
to
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)>0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)<0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)!=0)
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
-
- Forum Staff
- Posts: 1470
- Joined: November 3rd, 2010, 10:48 am
- Title: Best Player
- Location: Singapore
Re: Please teach me how to enable SP for this
i used the !=0 and worked.Kyoshiro wrote:i dunno don't have time to test properly but try changing
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)==0)
to
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)>0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)<0)
or
return(GetPlayerState(GetTriggerPlayer(),PLAYER_STATE_RESOURCE_FOOD_USED)!=0)