02.05.2017, 18:06
new countpolicemen=0;
for (new d=0;d<MAX_PLAYERS;d++)if(IsPlayerConnected(d) && PlayerInfo[d][pfaction]==FACTION_POLICE)countpolicemen++; ***
if(countpolicemen<3)return SendClientMessage(playerid,COLOR_NO,"You need 3 cops online in orther to do a robbery.");
ERROR TYPE: : error 001: expected token: ")", but found "-identifier-"
ERROR LINE (THAT ONE WITH AT THE END ***)
Please help me..
for (new d=0;d<MAX_PLAYERS;d++)if(IsPlayerConnected(d) && PlayerInfo[d][pfaction]==FACTION_POLICE)countpolicemen++; ***
if(countpolicemen<3)return SendClientMessage(playerid,COLOR_NO,"You need 3 cops online in orther to do a robbery.");
ERROR TYPE: : error 001: expected token: ")", but found "-identifier-"
ERROR LINE (THAT ONE WITH AT THE END ***)
Please help me..