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

pawn Код:
CMD:gresp(playerid, params[])
{
    SendClientMessage(playerid, 0xFFFFFFFF, "You have gain Respect point"); // Send message to player
    SetPlayerScore(playerid,(PlayerInfo[playerid][pRespect] = PlayerInfo[playerid][pRespect]++)); //in this line
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)