29.08.2010, 14:55
Whats wrong with it?
Whats wrong there?
Код:
command(bentrancefee, playerid, params[])
{
new money;
if( sscanf( params, "dd", money) )
{
if( Player[playerid][Business] > 0 )
{
SendClientMessage( playerid, WHITE, "TIP: /bentrancefee [price]" );
}
else
{
if( Player[playerid][Business] > 0 )
{
Businesses[Player[playerid][Business]][bEntrance] = money;
SendClientMessage( playerid, WHITE, "Your bizness entrance fee were setted to %s", Businesses[Player[playerid][Business]][bEntrance]); // 24073 this is the warning line
}
}
}
return 1;
}
Код:
C:\SA-MP Server\gamemodes\Roleplay.pwn(24073) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.

