Getting tired of this.
#1

Hey guys. I want to make a simple DCMD cmd.

How can this be wrong? XD

pawn Код:
dcmd_setfun(playerid, params[])
{
    new
        id,
        amount;
    if (sscanf(params, "ud", id, amount)) SendClientMessage(playerid, 0xFF0000AA, "Usage: /setfun playerid amount");
    else if (id == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000AA, "Player not found");
    else
    {
        funpoints[id] = amount;
        SendClientMessage(iplayerid, 0xFF0000AA,"you've setted funpoints");
        SendClientMessage(id, 0x00FF00AA, "your funpoints are setted");
    }
    return 1;
}
I really don't see the problem




It just has almost no effect.
Reply


Messages In This Thread
Getting tired of this. - by bartje01 - 08.01.2011, 22:43
Re: Getting tired of this. - by Joe Staff - 08.01.2011, 22:49
Re: Getting tired of this. - by bartje01 - 08.01.2011, 22:58
Re: Getting tired of this. - by Joe Staff - 08.01.2011, 23:18
Re: Getting tired of this. - by [03]Garsino - 08.01.2011, 23:20
Re: Getting tired of this. - by Lorenc_ - 08.01.2011, 23:23
Re: Getting tired of this. - by bartje01 - 08.01.2011, 23:36
Re: Getting tired of this. - by MadeMan - 08.01.2011, 23:53
Re: Getting tired of this. - by Sergei - 08.01.2011, 23:55
Re: Getting tired of this. - by bartje01 - 08.01.2011, 23:55

Forum Jump:


Users browsing this thread: 1 Guest(s)