Help with a command
#2

pawn Код:
if(sscanf(params,"iis", BuzCategory, BusPrice,BuzName)) return SendClientMessage(playerid,-1,"USAGE: /createbus <Category 1-5> <price> <Name>");
is iis becouse your want 1-5 , price ,name so that means that Category 1-5 is a variable so its an I
then same with the price and the Name is a Sting
you got them in the wrong order
Reply


Messages In This Thread
Help with a command - by LiamM - 01.12.2011, 15:53
Re: Help with a command - by park4bmx - 01.12.2011, 16:07
Re: Help with a command - by LiamM - 01.12.2011, 17:00
Re: Help with a command - by SmiT - 01.12.2011, 17:20
Re: Help with a command - by park4bmx - 01.12.2011, 17:20
Re: Help with a command - by LiamM - 01.12.2011, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)