Script Error
#4

No, no.. on the /sellsteel command, replace:
pawn Код:
if(sscanf(params,"ud",id,amount,price)) return SyntaxMSG(playerid, "/sellsteel [playerid/PartOfName] [amount] [price]");
with:
pawn Код:
if(sscanf(params,"udd",id,amount,price)) return SyntaxMSG(playerid, "/sellsteel [playerid/PartOfName] [amount] [price]");
You forgot to add the last "d" specifier so price stays 0.
Reply


Messages In This Thread
Script Error - by Pk93 - 06.08.2013, 22:08
Re: Script Error - by Konstantinos - 06.08.2013, 22:14
Re: Script Error - by Pk93 - 06.08.2013, 22:21
Re: Script Error - by Konstantinos - 06.08.2013, 22:26
Re: Script Error - by Pk93 - 06.08.2013, 22:28
Re: Script Error - by Pk93 - 06.08.2013, 22:33
Re: Script Error - by Konstantinos - 06.08.2013, 22:38
Re: Script Error - by Pk93 - 06.08.2013, 22:53
Re: Script Error - by Pk93 - 06.08.2013, 23:24

Forum Jump:


Users browsing this thread: 2 Guest(s)