fuck delete this shit why are you defining so many colors for some vip system and also vehicle array and other shit, this vip system cant be used for real server, and loops are horrible whole code is horrible.
PHP Code:
if(months == 1)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (1 Month) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~1 Month VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (1 Month) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*30);
}
if(months == 2)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (2 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~2 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (2 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*60);
}
if(months == 3)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (3 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~3 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (3 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*90);
}
if(months == 4)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (4 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~4 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (4 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*120);
}
if(months == 5)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (5 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~5 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (5 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*150);
}
if(months == 6)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (6 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~6 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (6 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*180);
}
if(months == 7)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (7 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~7 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (7 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*210);
}
if(months == 8)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (8 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~8 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (8 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*240);
}
if(months == 9)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (9 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~9 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (9 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*270);
}
if(months == 10)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (10 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~10 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (10 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*300);
}
if(months == 11)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (11 Months) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~11 Months VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (11 Months) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*330);
}
if(months == 12)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package (1 Year) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~1 Year VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package (1 Year) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*360);
}
if(months == 0)
{
SendClientMessage(ID,0xFFFF00AA,"You have recieved VIP Package 1 (Life Time) Subscribtion.");
GameTextForPlayer(ID, "Enjoy ~g~Unlimited VIP!", 3000, 5);
SendClientMessage(ID,0xFFFFFFAA,"Type /vcmds for the list of VIP commands.");
format(str, sizeof(str),"You\'ve given %s a VIP Package 1 (Life Time) subscription",pname);
SendClientMessage(playerid,0xFFFFFFAA,str);
dini_IntSet(pFile(ID),"VIP",1);
dini_IntSet(pFile(ID),"VIPTIME",gettime()+60*60*24*1000);
}