Fix Errors
#10

Change to:
pawn Код:
#define Syntax(%0,%1) SendClientMessage(%0, 0xFFFF00FF, %1)
#define Error(%0,%1) SendClientMessage(%0, 0xFF0000FF, %1)
I accidentally used semicolon at the end. And look here:
pawn Код:
if(sscanf(params, "us[65]", toid, message)) return Syntax(playerid, "[a]dmin[m]essage", "[playerid] [message]");
if(sscanf(params, "s[80]", message)) return Syntax(playerid, "[a]dmin[m]essage", "[message]");
You're using "message", "message". The SendClientMessage function has 3 parameters and you're using 4.

Change to:
pawn Код:
if(sscanf(params, "us[65]", toid, message)) return Syntax(playerid, "[a]dmin[m]essage: [playerid] [message]");
if(sscanf(params, "s[80]", message)) return Syntax(playerid, "[a]dmin[m]essage: [message]");
Reply


Messages In This Thread
Fix Errors - by Drago987 - 14.09.2013, 16:50
Re: Fix Errors - by Konstantinos - 14.09.2013, 16:56
Re: Fix Errors - by Drago987 - 14.09.2013, 17:11
Re: Fix Errors - by Konstantinos - 14.09.2013, 17:15
Re: Fix Errors - by Drago987 - 14.09.2013, 17:29
Re: Fix Errors - by Drago987 - 14.09.2013, 17:42
Re: Fix Errors - by Drago987 - 14.09.2013, 18:01
Re: Fix Errors - by Konstantinos - 14.09.2013, 18:05
Re: Fix Errors - by Drago987 - 14.09.2013, 18:17
Re: Fix Errors - by Konstantinos - 14.09.2013, 18:56

Forum Jump:


Users browsing this thread: 4 Guest(s)