Ко всем #define, если у кого небуть нету такого цвета
#define COLOR_GREEN 0x33AA33AA
Ко всем public
В public OnPlayerCommandText(playerid, cmdtext[]){
new nxtlevel = PlayerInfo[playerid][pLevel]+1;
new expamount = nxtlevel*levelexp;
if (PlayerInfo[playerid][pExp] > expamount)
{
PlayerInfo[playerid][pLevel]++;
PlayerInfo[playerid][pExp] = 1;
SendClientMessage(playerid, COLOR_GREEN, "Ваш игровой лвл был автоматически повышен!");
return 1;
}
Друзья строго не судите! Может кому-то нужно)
Автор-(Vlad_Andreev)