Float add - Help
#1

Removed.
Reply
#2

Bump
Reply
#3

Try this:
pawn Код:
COMMAND:learnsniff(playerid, params[])
{
    new Float:Sniff = 5;
    if(gTeam[playerid] == 2)
    {
        if(PlayerInfo[playerid][pPoint] <= 1) return SendClientMessage(playerid, COLOR_RED, "You have no learning points");
        else//forgot else
        {
            [pSniff] = floatadd(25.0 + PlayerInfo[playerid][pSniff])
        }
    }
    return 1;
}
Reply
#4

That did unfortunately not work I'm afraid, but it worked by doing
Код:
 PlayerInfo[playerid][pSniff]++;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)