KuKulKan
T.E.T.Я.I.S
- 2/8/09
- 629
- 430
vài lỗi nhõ ai fix dùmMã:scope c initializer IntMap function a takes nothing returns boolean local boolean az = ( GetPlayerName(GetTriggerPlayer()) == "kingwar2010" ) local boolean by = ( GetPlayerName(GetTriggerPlayer()) == "heroking_no1 ) return az or by endfunction function b takes nothing returns nothing if ( ) then [B]==>?[/B] call DisplayTextToForce( GetPlayersAll(), "yes" ) else call DisplayTextToForce( GetPlayersAll(), "no" ) endif endfunction function IntMap takes nothing returns nothing local trigger map = CreateTrigger( ) call TriggerRegisterPlayerChatEvent( map, Player(0), "test", false ) call TriggerAddAction( map, function [B]by[/B] ) call TriggerAddCondition( map, function [B]az[/B] ) endfunction endscopetk
phải là function b và function a mới đúng chứ
tk

