Quote:
Originally Posted by Clive
pawn Код:
if(strcmp(cmdtext,"/count",true) == 0) { if(Count < 3) return SendClientMessage(playerid,red,"Countdown is already in progress"); SetTimer("CountDown",1000,0); return 1; }
pawn Код:
public CountDown() { format(string,sizeof(string),"%d",Count); if(Count == 0) { GameTextForAll("Go go go!",1500,3); Count = 3; } else { GameTextForAll(string,1500,3); Count--; SetTimer("CountDown",1000,0); } return 1; }
|
I get the following errors!
warning 235: public function lacks forward declaration (symbol "CountDown")
: error 017: undefined symbol "string"
: error 017: undefined symbol "string"
: error 029: invalid expression, assumed zero