28.03.2014, 20:59
The second argument in TextDrawSetString must be a string so format it:
pawn Код:
public InfoUpdate()
{
new szInfo[32];
for(new i=0; i<MAX_PLAYERS; i++)
{
format(szInfo, sizeof (szInfo), "%i", GetPlayerTWanted(i));
TextDrawSetString(ITARIMAS1[i], szInfo );
TextDrawShowForPlayer(i, ITARIMAS1[i]);
}
return 1;
}