Give 1 Score Code(s)
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(cmdtext, "/scoreup", true))
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: You typed /scoreup and earned +1 score!"); // Send message to player
        SetPlayerScore(playerid,(GetPlayerScore(playerid))+1); // Set player score up for 1
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Give 1 Score Code(s) - by OleKristian95 - 23.06.2011, 13:10
Re: Give 1 Score Code(s) - by int3s0 - 23.06.2011, 13:16
Re: Give 1 Score Code(s) - by Remba031 - 23.06.2011, 13:16
Re: Give 1 Score Code(s) - by OleKristian95 - 23.06.2011, 13:41

Forum Jump:


Users browsing this thread: 1 Guest(s)