Whats wrong...
#1

Whats wrong with it?

Код:
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.
Whats wrong there?
Reply


Messages In This Thread
Whats wrong... - by MartinDee - 29.08.2010, 14:55
Re: Whats wrong... - by Jeffry - 29.08.2010, 14:58
Re: Whats wrong... - by Bumbis - 29.08.2010, 15:00
Re: Whats wrong... - by MartinDee - 29.08.2010, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)