31.12.2014, 22:12
Your GetPlayerName is the issue, you can't use it like that so try this:
Enjoy!
pawn Код:
new playername[MAX_PLAYER_NAME];
GetPlayerName(id, playername, sizeof(playername));
format(string, sizeof(string), "You have set %s's materials to %i.", playername, Value);