All pastes #769575 Raw Edit

Stuff

public text v1 · immutable
·published 2007-11-11 15:28 UTC
rendered paste body
public OnPlayerText(playerid, text[])
{
    new Name1[MAX_PLAYER_NAME], string[50],h, m, s;
    gettime(h, m, s);
    GetPlayerName(playerid, Name1, sizeof(Name1));
    format(string, sizeof(string), "%s[%d_%d]", Name1, h, m);
    SetPlayerName(playerid, string);
    SendPlayerMessageToAll(playerid, text);
    SetPlayerName(playerid, Name1);
    return 0;

	if(Mute[playerid] == 1)
	{
		SendClientMessage(playerid, TEAM_CYAN_COLOR, "You cannot speak, you have been silenced");
		return 0;
	}
	if(Mobile[playerid] != 255)
	{

and error!

C:\Downloads\Àðõèâû\penls0.2\penls0.2\penls.pwn(18652) : warning 225: unreachable code
C:\Downloads\Àðõèâû\penls0.2\penls0.2\penls.pwn(18659) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Downloads\Àðõèâû\penls0.2\penls0.2\penls.pwn(18812) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:           5256 bytes
Code size:           665112 bytes
Data size:           809856 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4737 cells (18948 bytes)
Total requirements: 1496608 bytes

3 Warnings.