13.01.2010, 19:51
its a typo:
needs to be
and you provide a parameter too much to the IsPlayerInRangeOfPoint(), the ",183.3526" is not needed to check for being in blueberry ^^
Код:
MsgSend[i] = 1;
Код:
MsgSent[i] = 1;
Код:
forward AreaCheck(); public AreaCheck() { new MsgSent[MAX_PLAYERS] = 0; for(new i=0; i<MAX_PLAYERS;i++) { if(IsPlayerInRangeOfPoint(i,300.0,232.5435,-146.6228,1.4297) { if(MsgSent[i] == 0) { GameTextForPlayer(i,"3",1000,3); MsgSent[i] = 1; SetTimerEx("MsgUnsent",60000,0,"d",i); SetTimerEx("Number2",1000,0,"d",i); } } } } forward Number2(id); public Number2(id) { GameTextForPlayer(id,"2",1000,3); SetTimerEx("Number1",1000,0,"d",i); } forward Number1(id); public Number1(id) { GameTextForPlayer(id,"1",1000,3); SetPlayerHealth(id,0); }