23.06.2013, 02:58
Woops, didn't understand you.
This is probably why, you are checking if the player typed a string, when infact it's a number. Try this:
Wow, all this time I've been checking if the player was connected. Silly me.
This is probably why, you are checking if the player typed a string, when infact it's a number. Try this:
pawn Код:
//Wrong
if(sscanf(params,"us[100]",ID,cmdreason)) // s[100] means it checks if you typed a string (max is 100)
{
//Right
if(sscanf(params,"ui", ID, cmdreason)) //cmd reason is an integer, meaning the second letter must be i or d (for integer)
{


