Quote:
Originally Posted by ReD_HunTeR
pawn Код:
CMD:makemevip(playerid, params[]) { if(PlayerInfo[playerid][LoggedIn] == 0) return SendClientMessage(playerid, red, "ERROR: You must be logged in to use this commands"); new level = 1; //change this if u want. 1 = level 1 etc if(PlayerInfo[playerid][vip] >= level) return SendClientMessage(playerid, red, "ERROR: You are already VIP."); GameTextForPlayer(playerid, "VIP[]Promoted", 2000, 3); dUserSetINT(PlayerName2(playerid)).("vip",(level)); PlayerInfo[playerid][vip] = level; PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0); SendClientMessage(playerid, -1, "Congratulations! You are now VIP!"); return 1; }
|
thanks bro !!!!!!!!!!!!!you're the best !!