26.01.2013, 07:28
if(sscanf(params, "us[48]i", player, text, ammount))
The sscanf parameter 'u' will search through ONLINE players, not offline. You need to change this to a string ('s'), and check if a file with their name exists, otherwise return an error message...
The sscanf parameter 'u' will search through ONLINE players, not offline. You need to change this to a string ('s'), and check if a file with their name exists, otherwise return an error message...