1.1 --- a/plugins/basecommands.sp Sun Jul 15 13:25:22 2007 +0000
1.2 +++ b/plugins/basecommands.sp Sun Jul 15 17:22:47 2007 +0000
1.3 @@ -65,13 +65,13 @@
1.4 return Plugin_Handled;
1.5 }
1.6
1.7 - new String:arg[50], String:time[20];
1.8 + decl String:arg[50], String:time[20];
1.9 GetCmdArg(1, time, sizeof(time));
1.10 GetCmdArg(2, arg, sizeof(arg));
1.11
1.12 new minutes = StringToInt(time);
1.13
1.14 - new String:reason[128];
1.15 + decl String:reason[128];
1.16 if (args >= 3)
1.17 {
1.18 GetCmdArg(3, reason, sizeof(reason));
1.19 @@ -108,13 +108,13 @@
1.20 return Plugin_Handled;
1.21 }
1.22
1.23 - new String:arg[50], String:time[20];
1.24 + decl String:arg[50], String:time[20];
1.25 GetCmdArg(1, time, sizeof(time));
1.26 GetCmdArg(2, arg, sizeof(arg));
1.27
1.28 new minutes = StringToInt(time);
1.29
1.30 - new String:reason[128];
1.31 + decl String:reason[128];
1.32 if (args >= 3)
1.33 {
1.34 GetCmdArg(3, reason, sizeof(reason));
1.35 @@ -151,8 +151,9 @@
1.36 return Plugin_Handled;
1.37 }
1.38
1.39 - new String:arg[50], start=0;
1.40 - new String:new_arg[50];
1.41 + decl String:arg[50];
1.42 + new start=0;
1.43 + decl String:new_arg[50];
1.44 GetCmdArgString(arg, sizeof(arg));
1.45
1.46 if (strncmp(arg, "STEAM_0:", 8) == 0)
1.47 @@ -194,7 +195,7 @@
1.48 return Plugin_Handled;
1.49 }
1.50
1.51 - new String:arg[65];
1.52 + decl String:arg[65];
1.53 GetCmdArg(1, arg, sizeof(arg));
1.54
1.55 new clients[2];
1.56 @@ -215,7 +216,7 @@
1.57 return Plugin_Handled;
1.58 }
1.59
1.60 - new String:s_time[12];
1.61 + decl String:s_time[12];
1.62 GetCmdArg(2, s_time, sizeof(s_time));
1.63
1.64 new time = StringToInt(s_time);
1.65 @@ -301,7 +302,7 @@
1.66
1.67 FlagsToString(String:buffer[], maxlength, flags)
1.68 {
1.69 - new String:joins[FLAG_STRINGS][20];
1.70 + decl String:joins[FLAG_STRINGS][20];
1.71 new total;
1.72
1.73 for (new i=0; i<FLAG_STRINGS; i++)
1.74 @@ -320,7 +321,7 @@
1.75 if (args < 1)
1.76 {
1.77 /* Display header */
1.78 - new String:t_access[16], String:t_name[16];
1.79 + decl String:t_access[16], String:t_name[16];
1.80 Format(t_access, sizeof(t_access), "%t", "Access", client);
1.81 Format(t_name, sizeof(t_name), "%t", "Name", client);
1.82
1.83 @@ -328,7 +329,7 @@
1.84
1.85 /* List all players */
1.86 new maxClients = GetMaxClients();
1.87 - new String:flagstring[255];
1.88 + decl String:flagstring[255];
1.89
1.90 for (new i=1; i<=maxClients; i++)
1.91 {
1.92 @@ -358,7 +359,7 @@
1.93 return Plugin_Handled;
1.94 }
1.95
1.96 - new String:arg[65];
1.97 + decl String:arg[65];
1.98 GetCmdArg(1, arg, sizeof(arg));
1.99
1.100 new clients[2];
1.101 @@ -374,7 +375,7 @@
1.102 }
1.103
1.104 new flags = GetUserFlagBits(clients[0]);
1.105 - new String:flagstring[255];
1.106 + decl String:flagstring[255];
1.107 if (flags == 0)
1.108 {
1.109 strcopy(flagstring, sizeof(flagstring), "none");
1.110 @@ -423,7 +424,7 @@
1.111 return Plugin_Handled;
1.112 }
1.113
1.114 - new String:cvarname[33];
1.115 + decl String:cvarname[33];
1.116 GetCmdArg(1, cvarname, sizeof(cvarname));
1.117
1.118 new Handle:hndl = FindConVar(cvarname);
1.119 @@ -519,7 +520,7 @@
1.120 return Plugin_Handled;
1.121 }
1.122
1.123 - new String:map[64];
1.124 + decl String:map[64];
1.125 GetCmdArg(1, map, sizeof(map));
1.126
1.127 if (!IsMapValid(map))
1.128 @@ -541,7 +542,7 @@
1.129
1.130 public Action:Timer_ChangeMap(Handle:timer, Handle:dp)
1.131 {
1.132 - new String:map[65];
1.133 + decl String:map[65];
1.134
1.135 ResetPack(dp);
1.136 ReadPackString(dp, map, sizeof(map));
1.137 @@ -559,7 +560,7 @@
1.138 return Plugin_Handled;
1.139 }
1.140
1.141 - new String:arg[65];
1.142 + decl String:arg[65];
1.143 GetCmdArg(1, arg, sizeof(arg));
1.144
1.145 new clients[2];
1.146 @@ -577,7 +578,7 @@
1.147 return Plugin_Handled;
1.148 }
1.149
1.150 - new String:name[65];
1.151 + decl String:name[65];
1.152
1.153 GetClientName(clients[0], name, sizeof(name));
1.154