20.03.2015, 12:22
Код:
new string[128], string1[128], target[MAX_PLAYER_NAME], pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); GetPlayerName(pID, target, sizeof(target)); format(string, sizeof(string), "You have set %s Vip level to %i", target, value); SendClientMessage(playerid, -1, string); format(string, sizeof(string), "Your Vip level has been set to %i by %s", value, pName); SendClientMessage(pID, -1, string1); PlayerInfo[pID][pVip] = value;