04.02.2018, 08:01
Quote:
"%s" is for all kind of values, "%d" is only for numeric values. You are using them wrong in your format statement.
You are using %d for name which is not numeric value. So it should be %s for name and %d for playerid. |
changed it to
Код:
format(string, sizeof(string), "(( PM from %s[%d]: %s ))", GetPlayerNameEx(playerid), playerid, reason); format(string, sizeof(string), "(( PM to %s[%d]: %s ))", GetPlayerNameEx(giveplayerid), giveplayerid, reason);