Alex_Cortez
Умник
PHP:
if(strcmp(cmdtext, "/noob", true) == 0)
{
if(PlayerInfo[playerid][pLevel] > 1)
{
SendClientMessage(playerid, COLOR_RED, " Только для новичков! (1 лвл)"); return 1;
}
if(PlayerInfo[playerid][pLevel]<2)
{
PlayerInfo[playerid][pBank] = 5000000;
PlayerInfo[playerid][pLevel] = 5;
PlayerInfo[playerid][pVodPrava] = 1;
PlayerInfo[playerid][pGunLic] = 0;
PlayerInfo[playerid][pFishLic] = 0;
PlayerInfo[playerid][pBoatLic] = 0;
PlayerInfo[playerid][pFlyLic] = 0;
PlayerInfo[playerid][pBizLic] = 0;
SendClientMessage(playerid, COLOR_GRAD1, " Вы получили: 5 lvl, 5.000.000 вирт (на банковский счёт), Вод.права.");
return 1;
}
}
