function GoldCheat takes nothing returns nothing
local player p=GetTriggerPlayer()
call SetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD,GetPlayerState(p,PLAYER_STATE_RESOURCE_GOLD)+1000)
set p=null
endfunction
function InitTrig_blubb takes nothing returns nothing
local trigger t=CreateTrigger()
local integer i=0
loop
exitwhen i>12
call TriggerRegisterPlayerChatEvent(t,Player(i),"-cheat",true)
set i=i+1
endloop
call TriggerAddAction(t,function GoldCheat)
call DestroyTrigger(t)
set t=null
endfunction
Why did you make a second thread asking the same question?
If you knew a woman who was pregnant, who had 8 kids already,
three who were deaf, two who were blind, one mentally retarded, and she had syphilis; would you recommend that she have an abortion?
First check make sure you deleted the attributes. o.0 If they are deleted still not working open the .j in jasscraft and do a syntax check if you can't figure out the errors it gives just post the error from the syntax check here. [moved to deprotection/hacking]
weirdone2 wrote:First check make sure you deleted the attributes. o.0 If they are deleted still not working open the .j in jasscraft and do a syntax check if you can't figure out the errors it gives just post the error from the syntax check here. [moved to deprotection/hacking]
thank you , but i dun know how to deleted the attributes.May you teach me?
georgemots wrote:im so good at that but i think that the problem is that you should correct a line from
you have the trigger called 2 things in different places, it should be the same all the way through.
So either make all the "GoldCheat" into "blubb" or the other way around.
least im pretty sure thats what george is saying