What am I doing wrong?
#2

Reason is created as a integer since you are not specifying a size to make it a 'string'. Obviously, 'reason' will be a text, not a number!

pawn Код:
new Player, reason[128];
    if (sscanf(params, "us[128]", Player, reason))
Reply


Messages In This Thread
What am I doing wrong? - by Tommy_Mandaz - 25.04.2011, 02:00
Re: What am I doing wrong? - by admantis - 25.04.2011, 02:02
Re: What am I doing wrong? - by Tommy_Mandaz - 25.04.2011, 02:03

Forum Jump:


Users browsing this thread: 1 Guest(s)