Need help with command! (zcmd) giving +1 score
#8

pawn Код:
CMD:gresp(playerid)
{
    SendClientMessage(playerid, 0xFFFFFFFF, "You have gained a respect point"); // Send message to player
    new CurrentScore;
    GetPlayerScore(playerid, CurrentScore)
    SetPlayerScore(playerid, CurrentScore +1);
    PlayerInfo[playerid][pRespect]++;
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)