Points.
#5

pawn Код:
command(setpoints, playerid, params[] )
{
    if ( !IsPlayerCop[ playerid ] ) return 0; // Example
   
    new
        giveplayerid,
        points;

    if ( sscanf( params, "ri", giveplayerid, points ) ) SendClientMessage( playerid, -1, "* Usage: /setpoints [Nick/ID] [Points]" );
    else if ( giveplayerid == INVALID_PLAYER_ID ) SendClientMessage( playerid, -1, "* Player not found!" );
    else
    {
        Player[ playerid ][ Points ] += pointrs;
    }
    return 1;
}
To slow :/
Reply


Messages In This Thread
Points. - by iGetty - 14.07.2011, 19:56
Re: Points. - by Toreno - 14.07.2011, 20:07
Re: Points. - by iGetty - 14.07.2011, 20:10
Re: Points. - by Toreno - 14.07.2011, 20:16
Re: Points. - by Raimis_R - 14.07.2011, 20:17

Forum Jump:


Users browsing this thread: 2 Guest(s)