Some problems.
#10

Quote:
Originally Posted by SmiT
Посмотреть сообщение
pawn Код:
if (strcmp("/ak", cmdtext, true, 2) == 0)
    {
        GivePlayerWeapon(playerid,30,10000);
        return 1;
    }
Would be:

pawn Код:
CMD:ak(playerid, params[])
{
    if ( isnull ( params ) ) GivePlayerWeapon( playerid, 30, 10000 );
    return 1;
}
Well a easy way would be
pawn Код:
CMD:ak(playerid, params[])
{
    GivePlayerWeapon( playerid, 30, 10000 );
    return 1;
}
Reply


Messages In This Thread
Some problems. - by nogh445 - 20.11.2011, 16:39
Re: Some problems. - by Tanush123 - 20.11.2011, 16:49
Re: Some problems. - by nogh445 - 20.11.2011, 16:55
Re: Some problems. - by SmiT - 20.11.2011, 17:00
Re: Some problems. - by nogh445 - 20.11.2011, 17:03
Re: Some problems. - by Tanush123 - 20.11.2011, 17:03
Re: Some problems. - by Kostas' - 20.11.2011, 17:09
Re: Some problems. - by nogh445 - 20.11.2011, 17:12
Re: Some problems. - by SmiT - 20.11.2011, 17:16
Re: Some problems. - by Tanush123 - 20.11.2011, 19:43

Forum Jump:


Users browsing this thread: 2 Guest(s)