sscanf warning
#5

The command only uses one parameter, that is a targetid.

Change
pawn Код:
if(sscanf(params, "uz[6]", targetid)) return SendClientMessage(playerid, COLOR_SYNTAX, "POMOC: /goto [PlayerID/PartOfName]");
to
pawn Код:
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, COLOR_SYNTAX, "POMOC: /goto [PlayerID/PartOfName]");
u is the userid specifier. That's all you need for this command.
Reply


Messages In This Thread
sscanf warning - by tixzor - 18.06.2012, 19:49
Re: sscanf warning - by WagnerPM - 18.06.2012, 19:58
Re: sscanf warning - by tixzor - 19.06.2012, 06:41
Re: sscanf warning - by Skaizo - 19.06.2012, 08:20
Re: sscanf warning - by ReneG - 19.06.2012, 08:28

Forum Jump:


Users browsing this thread: 2 Guest(s)