Jump to content

Recommended Posts

Posted

comanda

http://pastebin.com/cHRw72F7

 

C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "engine" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "alarm" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "bonnet" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "boot" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "objective" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14596) : warning 217: loose indentation
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
 

Posted
On 8/3/2016 at 8:20 AM, Pitbul97 said:

comanda

http://pastebin.com/cHRw72F7

 

C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "engine" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "lights" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "alarm" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "doors" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "bonnet" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "boot" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14563) : warning 219: local variable "objective" shadows a variable at a preceding level
C:\Users\User\Desktop\gamemodes\Carbon.pwn(14596) : warning 217: loose indentation
Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
 

CMD:n(playerid,params[])
{
	if(PlayerInfo[playerid][pMuted] == 1)
	{
		SendClientMessage(playerid, COLOR_GREY, "You are muted from the newbie chat channel.");
		return 1;
	}
	if(NewbieTimer[playerid] > 0)
	{
	    new string[128],cmdtext;
		format(string, sizeof(string), "You must wait %d between each message.", NewbieTimer[playerid]);
		SendClientMessage(playerid, COLOR_GREY, string);
		return 1;
	}
	new length = strlen(cmdtext);
	new offset = idx;
	while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
	{
		result[idx - offset] = cmdtext[idx];
		idx++;
	}
	result[idx - offset] = EOS;
	if(!strlen(result))
	{
		SendClientMessage(playerid, COLOR_NEWBIE, "{33CCFF}USAGE:{FFFFFF} /newb [text]");
	    return 1;
	}
	if(PlayerInfo[playerid][pAdmin] < 1)
	{
		NewbieTimer[playerid] = 30;
	}
	if(PlayerInfo[playerid][pAdmin]<1)
	{
		format(string, sizeof(string), "** Newbie %s: %s", GetPlayerNameEx(playerid), result);
	}
	if(PlayerInfo[playerid][pAdmin] == 1)
	{
		format(string, sizeof(string), "** Moderator %s: %s", GetPlayerNameEx(playerid), result);
	}
	if(PlayerInfo[playerid][pAdmin] >= 2)
	{
		format(string, sizeof(string), "** Admin %s: %s", GetPlayerNameEx(playerid), result);
	}
	foreach(Player, n)
	{
			SetTimer("NewbTimer", 25000, 0);
			SendClientMessage(n, COLOR_NEWBIE, string);
	}
	return 1;
}

ti-am rezolvat comanda care mi-ai dat-o dar acele warning-uri sunt de la alta comanda nu de la asta care ai dat-o tu..

Posteaza-o la categoria corespunzatoare T/C

**********************************

Servicii Scripting de calitate:

*********************************

Future Project: ExpertGame

*********************************

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.