/carcolor (change your vehicle color)
/changeskin (change player skin)
/weather (change player weather)
/veh (spawn a vehicle with name)
/dvc (destroy spawned vehicle)
/nos (add nos to your vehicle)
/vc (VIP Chat)
/vpm (VIP Personal message)
/vrepair (Repair your vehicle)
/vflip (Flip your vehicle)
/setvip (playerid) (month) //For Rcon Admin
stock pFile(playerid)//UserFile path
{
new file[64];
format(file, sizeof(file), "Accounts/%s.ini",RPN(playerid)); // You can change it to what is your users\'s path
return file;
}
echo Executing Server Config... lanmode 1 rcon_password changeme maxplayers 30 port 7777 hostname changeme gamemode0 changeme 1 plugins streamer.dll sscanf.dll filterscripts VIP announce 1 query 1 chatlogging 0 weburl changeme onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 1 logtimeformat [%H:%M:%S]
echo Executing Server Config... lanmode 1 rcon_password changeme maxplayers 30 port 7777 hostname changeme gamemode0 changeme 1 plugins streamer.dll sscanf.dll filterscripts VIP announce 1 query 1 chatlogging 0 weburl changeme onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 1 logtimeformat [%H:%M:%S]
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);
}
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.
and for fuck sake wtf is this ? PHP Code:
|