/slap command help
#4

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
You're missing a sscanf specifier.

pawn Код:
if(sscanf(params, "u", playerb)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /slap [playerid] [height]");
So, your height var will always equal 0.
Is

pawn Код:
if(sscanf(params, "ui", playerb,height)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /slap [playerid] [height]");
Reply


Messages In This Thread
/slap command help - by MichaelWharton101 - 10.04.2013, 23:30
Re: /slap command help - by Scenario - 10.04.2013, 23:31
Re: /slap command help - by MichaelWharton101 - 10.04.2013, 23:33
Re: /slap command help - by iJumbo - 10.04.2013, 23:34
Re: /slap command help - by Pottus - 10.04.2013, 23:35
Re: /slap command help - by iJumbo - 10.04.2013, 23:46
Re: /slap command help - by Scenario - 10.04.2013, 23:59
Re: /slap command help - by iJumbo - 11.04.2013, 00:01
Re: /slap command help - by Pottus - 11.04.2013, 00:04
Re: /slap command help - by MichaelWharton101 - 11.04.2013, 00:04

Forum Jump:


Users browsing this thread: 1 Guest(s)