02.06.2014, 16:16
why is this showing "Error: Unmatched Tilde"
instead of the players whom have a hit contract on them.
instead of the players whom have a hit contract on them.
pawn Code:
CMD:hits(playerid, params[])
{
new string[256];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && HasHit[i] == 1)
{
format(string, sizeof(string), "%s(%d)~n~%s(%d)~n~%s(%d)~n~%s(%d)~n~%s(%d)", GetName(i), i,GetName(i), i,GetName(i), i,GetName(i), i,GetName(i), i);
TextDrawSetString(List[playerid], string);
TextDrawShowForPlayer(playerid, List[playerid]);
}
}
return 1;
}