10.12.2014, 08:29
Use format when you're going to use variable variables.
For example:
format(string, sizeof(string), "Test: %d", variable);
Otherwise just use PlayerTextDrawSetString like you did in the first example
PlayerTextDrawSetString(playerid, weaponAmmo[1][playerid], "TEST");
For example:
format(string, sizeof(string), "Test: %d", variable);
Otherwise just use PlayerTextDrawSetString like you did in the first example
PlayerTextDrawSetString(playerid, weaponAmmo[1][playerid], "TEST");