04.02.2018, 07:27
No, because the %s where it needs to be %d will cause the same error.
It's because he's muddled the order of the params at the end of the format function.
Where they have
They should have...
It's because he's muddled the order of the params at the end of the format function.
Where they have
Код:
format(string, sizeof(string), "(( PM from [%d] %s: %s ))", GetPlayerNameEx(playerid), playerid, reason); format(string, sizeof(string), "(( PM to [%d] %s: %s ))", GetPlayerNameEx(giveplayerid), giveplayerid, reason);
Код:
format(string, sizeof(string), "(( PM from [%d] %s: %s ))", playerid, GetPlayerNameEx(playerid), reason); format(string, sizeof(string), "(( PM to [%d] %s: %s ))", giveplayerid, GetPlayerNameEx(giveplayerid), reason);