Просмотр исходного кода

Added a branch with another version I found

root 2 лет назад
Родитель
Сommit
5eb56d06fa
4 измененных файлов с 34 добавлено и 31 удалено
  1. BIN
      gamemodes/CG-RP1.amx
  2. 24 24
      gamemodes/CG-RP1.pwn
  3. 2 2
      pawno/settings.ini
  4. 8 5
      server.cfg

BIN
gamemodes/CG-RP1.amx


+ 24 - 24
gamemodes/CG-RP1.pwn

@@ -1,4 +1,4 @@
-					//This server made by New Legacy Roleplay
+					//This server made by Classified Gaming Roleplay
 //--------------------------[Includes]---------------------------//
 #include <a_samp>
 #include <dini>
@@ -955,10 +955,10 @@ new Cartelbanco;
 //---[Drive Throw Menu]--//
 new Menu:drivethrow;
 //---------------------------------------[Random Messages System]-----------------------//
-#define     RANDOM_MESSAGE1     "Do you have any Questions regarding the Script? Feel free to use /requesthelp or /n"
-#define     RANDOM_MESSAGE2     "Ignorance of the rules is no exucse, READ them!"
-#define     RANDOM_MESSAGE3     "Want to Join a Faction or start a Family? Visit our discord: https:////discord.gg//bCpJHxK"
-#define     RANDOM_MESSAGETIMEINMINUTES     92
+#define     RANDOM_MESSAGE1     "Do you have any Questions regarding the Script ? Feel free to use /requesthelp or /n"
+#define     RANDOM_MESSAGE2     "Want to donate for VIP? Check out our forums in the Information section or /report for questions"
+#define     RANDOM_MESSAGE3     "Want to Join a Faction or start a Family ? Visit our forums and Apply - classified-gaming.tk"
+#define     RANDOM_MESSAGETIMEINMINUTES     10
 //-------------------------------------------[Seatbelt]---------------------------------//
 new Seatbelt[MAX_PLAYERS];
 new gPlayerCheckpointStatus[MAX_PLAYERS];
@@ -1040,7 +1040,7 @@ new Text:Area3;
 new Text:Area4;
 new Text:Area5;
 new Text:TutBox; // Background box
-new Text:TutHead; // Headline 'New Legacy Roleplay Tutorial'
+new Text:TutHead; // Headline 'Classified Gaming Roleplay Tutorial'
 new Text:TutText[8]; // Guide lines
 new Text:TutBox2; // Red thin borders
 new Text:TutBox3;
@@ -26195,7 +26195,7 @@ public SetPlayerSpawn(playerid)
 				TextDrawHideForPlayer(playerid, SpawnClickII);
 				new string[128];
     			// Welcome
-			    format(string, sizeof(string), "SERVER: {FFFFFF}Welcome to New Legacy Roleplay {0E0101}%s{FFFFFF}.", RPN(playerid));
+			    format(string, sizeof(string), "SERVER: {FFFFFF}Welcome to Classified Gaming Roleplay {0E0101}%s{FFFFFF}.", RPN(playerid));
 				SendClientMessage(playerid, COLOR_NICEGREEN, string);
 				// Player
 				format(string, sizeof(string), "SERVER: {FFFFFF}You are logged in as level %d player.", PlayerInfo[playerid][pLevel]);
@@ -28596,11 +28596,11 @@ public DisplayDialogForPlayer(playerid, dialogid)
     {
         case 1:
         {
-            ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD,"{6EF83C}Login Panel","{FFFFFF}Welcome to {A80000}New Legacy Roleplay.{FFFFFF}\n\nThat name is {F3FF02}registered. {FFFFFF}\n\nPlease enter your {B8FF02}Password{FFFFFF} below inorder to proceed","Login","Cancel");
+            ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD,"{6EF83C}Login Panel","{FFFFFF}Welcome to {A80000}Classified Gaming Roleplay.{FFFFFF}\n\nThat name is {F3FF02}registered. {FFFFFF}\n\nPlease enter your {B8FF02}Password{FFFFFF} below inorder to proceed","Login","Cancel");
         }
         case 2:
         {
-            ShowPlayerDialog(playerid,2,DIALOG_STYLE_PASSWORD,"{6EF83C}Registering Panel","{FFFFFF}Welcome to {A80000}New Legacy Roleplay.{FFFFFF}\n\nThas name is not{F3FF02} registered {FFFFFF}\n\nPlease enter your {B8FF02}Password{FFFFFF} below inorder to proceed.","Register","Cancel");
+            ShowPlayerDialog(playerid,2,DIALOG_STYLE_PASSWORD,"{6EF83C}Registering Panel","{FFFFFF}Welcome to {A80000}Classified Gaming Roleplay.{FFFFFF}\n\nThas name is not{F3FF02} registered {FFFFFF}\n\nPlease enter your {B8FF02}Password{FFFFFF} below inorder to proceed.","Register","Cancel");
         }
         case 4:
         {
@@ -30410,8 +30410,8 @@ public SetPlayerUnjail()
    					TextDrawHideForPlayer(i, SpawnClickI);
 					TextDrawHideForPlayer(i, SpawnClickII);
 					StopAudioStreamForPlayer(i);
-			        SendClientMessage(i, COLOR_WHITE, "Welcome to {6422DD}New Legacy Roleplay{FFFFFF} , If you have any questions Regarding The script , use /requesthelp or /n");
-                	SendClientMessage(i, COLOR_WHITE, "For a list of commands type /help. For more information And Tips - Type /tips , Also Visit our Forums at Coming soon");
+			        SendClientMessage(i, COLOR_WHITE, "Welcome to {6422DD}Classified Gaming Roleplay{FFFFFF} , If you have any questions Regarding The script , use /requesthelp or /n");
+                	SendClientMessage(i, COLOR_WHITE, "For a list of commands type /help. For more information And Tips - Type /tips , Also Visit our Forums at classified-gaming.tk");
 			        CanTalk[i] = 1;
 			        TutTime[i] = 0;
 			        PlayerInfo[i][pSafeSpawn] = 1;
@@ -34190,7 +34190,7 @@ public OnGameModeInit()
 		TextDrawTextSize(TD, 380, 400);
 
 
- 		Website = TextDrawCreate(5.0, 431.0, "Coming soon");
+ 		Website = TextDrawCreate(5.0, 431.0, "classified-gaming.tk");
 		TextDrawUseBox(Website, false);
 
 
@@ -34426,7 +34426,7 @@ public OnGameModeInit()
 	TextDrawBoxColor(Area3, 255);
 	TextDrawTextSize(Area3, -9.000000, -4.000000);
 
-	Area4 = TextDrawCreate(255.000000, 115.000000, "New Legacy Roleplay");
+	Area4 = TextDrawCreate(255.000000, 115.000000, "Classified Gaming Roleplay");
 	TextDrawBackgroundColor(Area4, 255);
 	TextDrawFont(Area4, 0);
 	TextDrawLetterSize(Area4, 0.700000, 3.200000);
@@ -34616,7 +34616,7 @@ public OnGameModeInit()
 	TextDrawBoxColor(TutBox, 99);
 	TextDrawTextSize(TutBox, 142.000000, -2.000000);
 
-	TutHead = TextDrawCreate(157.000000, 258.000000, "New Legacy Roleplay Tutorial");
+	TutHead = TextDrawCreate(157.000000, 258.000000, "Classified Gaming Roleplay Tutorial");
 	TextDrawBackgroundColor(TutHead, 255);
 	TextDrawFont(TutHead, 2);
 	TextDrawLetterSize(TutHead, 0.409999, 3.099998);
@@ -34695,7 +34695,7 @@ public OnGameModeInit()
 	TextDrawSetShadow(TutText[6], 1);
 	TextDrawAlignment(TutText[6], 1);
 
-	TutText[7] = TextDrawCreate(155.000000, 292.000000, "End of the tutorial~n~CG:RP Staff thanks you for joining our server.~n~~n~Visit our forums at Coming soon ~n~~n~Join us on Vent Also at : Coming Soon  ~n~There are far more features that you have to discover ~n~yourself ~n~~n~Thank you and Enjoy your Time");
+	TutText[7] = TextDrawCreate(155.000000, 292.000000, "End of the tutorial~n~CG:RP Staff thanks you for joining our server.~n~~n~Visit our forums at classified-gaming.tk ~n~~n~Join us on Vent Also at : Coming Soon  ~n~There are far more features that you have to discover ~n~yourself ~n~~n~Thank you and Enjoy your Time");
 	TextDrawBackgroundColor(TutText[7], 255);
 	TextDrawFont(TutText[7], 2);
 	TextDrawLetterSize(TutText[7], 0.2499 ,1.1999);
@@ -56285,9 +56285,9 @@ public OnGameModeInit()
     NPCBlueBus = CreateVehicle(431, 0.0, 0.0, 0.0, 0.0, 125, 125, 1);
     NPCBlackBus = CreateVehicle(431, 0.0, 0.0, 0.0, 0.0, 0, 0, 1);
 	    //=====================================[3D Text Labels ONLY]======================================
-	//Create3DTextLabel("{FFFFFF}Welcome to {6EF83C}New Legacy Roleplay{FFFFFF}\nIf you have any questions regarding the script - Feel free to use {FF00EA}/n{FFFFFF}\nFor a list of the Important Locations in Los Santos - Use {FF00EA}/gps",0x0000FFFF,1722.7987,-1880.4536,13.5647, 10,0,1);
-	//Create3DTextLabel("{FFFFFF}Welcome to {6EF83C}New Legacy Roleplay{FFFFFF}\nIf you have any questions regarding the script - Feel free to use {FF00EA}/n{FFFFFF}\nFor a list of the Important Locations in Los Santos - Use {FF00EA}/gps",0x0000FFFF,1715.0118,-1880.9628,13.5666, 10,0,1);
-	//Create3DTextLabel("{FFFFFF}Welcome to {6EF83C}New Legacy Roleplay{FFFFFF}\nIf you have any questions regarding the script - Feel free to use {FF00EA}/n{FFFFFF}\nFor a list of the Important Locations in Los Santos - Use {FF00EA}/gps",0x0000FFFF,1706.8688,-1880.2881,13.5685, 10,0,1);
+	//Create3DTextLabel("{FFFFFF}Welcome to {6EF83C}Classified Gaming Roleplay{FFFFFF}\nIf you have any questions regarding the script - Feel free to use {FF00EA}/n{FFFFFF}\nFor a list of the Important Locations in Los Santos - Use {FF00EA}/gps",0x0000FFFF,1722.7987,-1880.4536,13.5647, 10,0,1);
+	//Create3DTextLabel("{FFFFFF}Welcome to {6EF83C}Classified Gaming Roleplay{FFFFFF}\nIf you have any questions regarding the script - Feel free to use {FF00EA}/n{FFFFFF}\nFor a list of the Important Locations in Los Santos - Use {FF00EA}/gps",0x0000FFFF,1715.0118,-1880.9628,13.5666, 10,0,1);
+	//Create3DTextLabel("{FFFFFF}Welcome to {6EF83C}Classified Gaming Roleplay{FFFFFF}\nIf you have any questions regarding the script - Feel free to use {FF00EA}/n{FFFFFF}\nFor a list of the Important Locations in Los Santos - Use {FF00EA}/gps",0x0000FFFF,1706.8688,-1880.2881,13.5685, 10,0,1);
 	Create3DTextLabel("/getlic",COLOR_LIGHTBLUE, -2033.0881,-116.2135,1035.1719, 20,0,1);//Licenses
 	Create3DTextLabel("/getslic",COLOR_LIGHTBLUE, 127.5342,-1857.9973,3.0781, 20,0,1); // Sailing License
 	Create3DTextLabel("[The Police Department]",0x0000FFFF, 1554.4497,-1675.7167,16.1953, 20,0,1);
@@ -60373,7 +60373,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
 	{
 	    if(IsPlayerConnected(playerid))
 	    {
-	        SendClientMessage(playerid,COLOR_YELLOW2,"|__________________New Legacy Roleplay Developers Team________________|");
+	        SendClientMessage(playerid,COLOR_YELLOW2,"|__________________Classified Gaming Roleplay Developers Team________________|");
 	        SendClientMessage(playerid,COLOR_YELLOW2,"            Coder / Creator : Antonio");
 	        SendClientMessage(playerid,COLOR_YELLOW2,"            Executive Admin / Founder : BI4573R");
 	        SendClientMessage(playerid,COLOR_YELLOW2,"            Forums Developers : None");
@@ -60412,7 +60412,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
 		{
 		    SendClientMessage(playerid, COLOR_LIGHTBLUE,"~ {F81414}Classified{FFFFFF}RP ~");
 		    SendClientMessage(playerid, COLOR_WHITE,"{F81414}Server IP:{FFFFFF} 151.236.29.108:7840");
-		    SendClientMessage(playerid, COLOR_WHITE,"{F81414}Website:{FFFFFF} Coming soon");
+		    SendClientMessage(playerid, COLOR_WHITE,"{F81414}Website:{FFFFFF} classified-gaming.tk");
 		    SendClientMessage(playerid, COLOR_WHITE,"{F81414}Team-Speak IP:{FFFFFF} Coming Soon");
 		    SendClientMessage(playerid, COLOR_WHITE,"{F81414}Server Owner :{FFFFFF} Antonio / B|4573R");
 		    SendClientMessage(playerid, COLOR_WHITE,"{F81414}Coder / Creator :{FFFFFF} Antonio");
@@ -60432,10 +60432,10 @@ public OnPlayerCommandText(playerid, cmdtext[])
 	}
   	if (strcmp("/tips", cmdtext, true, 5) == 0)
 	{
-		SendClientMessage(playerid, COLOR_YELLOW, "|_____________________________________New Legacy Roleplay Tips__________________________________|");
+		SendClientMessage(playerid, COLOR_YELLOW, "|_____________________________________Classified Gaming Roleplay Tips__________________________________|");
         SendClientMessage(playerid, COLOR_PURPLE, "1 - If You like to be in Any Faction/Helper Team - You Must follow all the rules And RolePlay Good");
         SendClientMessage(playerid, COLOR_PURPLE, "2 - Dont ask For to be Admin on server,If You Ask You won't get it");
-		SendClientMessage(playerid, COLOR_PURPLE, "3 - Always Be updated in the Server So Visit Our Forums: Coming soon");
+		SendClientMessage(playerid, COLOR_PURPLE, "3 - Always Be updated in the Server So Visit Our Forums: classified-gaming.tk");
 		SendClientMessage(playerid, COLOR_PURPLE, "4 - Don't Start OOC Flaming or OOC Insulting - That may get you Prison / Temp. Ban");
 		SendClientMessage(playerid, COLOR_PURPLE, "5 - Always Obey the Admins and Do what they want");
         SendClientMessage(playerid, COLOR_PURPLE, "6 - If you Find any Hacker / Cheater / RuleBreaker - Take SS and post in on Forums or /report");
@@ -61762,7 +61762,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
 	{
         if(IsPlayerConnected(playerid))
 	    {
-			SendClientMessage(playerid, LIGHTBLUE, "|| New Legacy Roleplay Online Helpers ||");
+			SendClientMessage(playerid, LIGHTBLUE, "|| Classified Gaming Roleplay Online Helpers ||");
 			for(new i = 0; i < MAX_PLAYERS; i++)
 			{
 				if(IsPlayerConnected(i))
@@ -69737,7 +69737,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
 
 	    	if(IsPlayerConnected(playerid)){
 				{
-	    	    	SendClientMessage(playerid, COLOR_LIGHTRED, "|| New Legacy Roleplay Online VIP's ||");
+	    	    	SendClientMessage(playerid, COLOR_LIGHTRED, "|| Classified Gaming Roleplay Online VIP's ||");
 	    	    	//foreach(Player, i)
        		 		for(new i; i<MAX_PLAYERS; i++)
 						{

+ 2 - 2
pawno/settings.ini

@@ -2,8 +2,8 @@
 FileAssoc=1
 [Display]
 WindowMax=1
-WindowX=1520
-WindowY=802
+WindowX=280
+WindowY=112
 WindowW=790
 WindowH=485
 Splitter=364

+ 8 - 5
server.cfg

@@ -12,8 +12,11 @@ incar_rate 40
 weapon_rate 40
 stream_distance 500.0
 stream_rate 1000
-logtimeformat [%H:%M:%S]
-port 7777
-maxplayers 30
-query 1
-announce 1
+logtimeformat [%H:%M:%S]
+
 
+30 
+1 
+port 7777maxplayers 30
+query 1
+announce 
+ibind 25.43.187.12