CMD:noooc(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (!noooc) { noooc = 1; BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!"); } else { noooc = 0; new string[ 128 ]; format(string, sizeof(string), " (0x00FFD0AA)OOC chat channel enabled by an Admin! - (FFFF00)Do (FF0000)NOT (FFFF00)abuse OOC chat with (0099FF)Spamming, (F200FF)Insulting, (8400FF)Cursing, (FFFF00)You will get punishment for that."); ABroadCast(COLOR_YELLOW, string, 128 ); } } else { SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!"); } return 1; }
CMD:noooc(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if (!noooc)
{
noooc = 1;
BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!");
}
else
{
noooc = 0;
new string[ 128 ];
format(string, sizeof(string), " (0x00FFD0AA)OOC chat channel enabled by an Admin! - (FFFF00)Do (FF0000)NOT (FFFF00)abuse OOC chat with (0099FF)Spamming, (F200FF)Insulting, (8400FF)Cursing, (FFFF00)You will get punishment for that.");
ABroadCast(-1, string, 128 );
}
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
}
return 1;
}
CMD:noooc(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if (!noooc)
{
noooc = 1;
BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!");
}
else
{
noooc = 0;
new string[ 256 ];
format(string, sizeof(string), " "0x00FFD0AA"OOC chat channel enabled by an Admin! - "FFFF00"Do "FF0000"NOT "FFFF00"abuse OOC chat with "0099FF"Spamming, "F200FF"Insulting, "8400FF"Cursing, "FFFF00"You will get punishment for that.");
ABroadCast(-1, string, 128 );
}
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
}
return 1;
}
C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(18236) : warning 217: loose indentation C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(18793) : warning 217: loose indentation C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(18794) : warning 217: loose indentation C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(18930) : warning 217: loose indentation C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(31121) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(31121) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(31121) : warning 215: expression has no effect C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(31121) : error 001: expected token: ";", but found "-identifier-" C:\Users\Mor\Desktop\CGRP v1.0\CGRP v1.0\gamemodes\CGRP.pwn(31121) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
format(string, sizeof(string), " "0x00FFD0AA"OOC chat channel enabled by an Admin! - "FFFF00"Do "FF0000"NOT "FFFF00"abuse OOC chat with "0099FF"Spamming, "F200FF"Insulting, "8400FF"Cursing, "FFFF00"You will get punishment for that."); |
CMD:noooc(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if (!noooc)
{
noooc = 1;
BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!");
}
else
{
noooc = 0;
new string[ 128 ];
format(string, sizeof(string), " {00FFD0}OOC chat channel enabled by an Admin! - {FFFF00}Do {FF0000}NOT {FFFF00}abuse OOC chat with {0099FF}Spamming, {F200FF}Insulting, (8400FF)Cursing, {FFFF00}You will get punishment for that.");
ABroadCast(COLOR_YELLOW, string, 128 );
}
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
}
return 1;
}
format(string, sizeof(string), " {00FFD0}OOC chat channel enabled by an Admin! - {FFFF00}Do {FF0000}NOT {FFFF00}abuse OOC chat with {0099FF}Spamming, {F200FF}Insulting, {8400FF}Cursing, {FFFF00}You will get punishment for that.");
CMD:noooc(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (!noooc) { noooc = 1; BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!"); } else { noooc = 0; new string[ 128 ]; format(string, sizeof(string), " {00FFD0}OOC chat channel enabled by an Admin! - {FFFF00}Do {FF0000}NOT {FFFF00}abuse OOC chat with {0099FF}Spamming, {F200FF}Insulting, (8400FF)Cursing, {FFFF00}You will get punishment for that."); ABroadCast(COLOR_YELLOW, string, 128 ); } } else { SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!"); } return 1; } |
CMD:noooc(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 2)
{
if (!noooc)
{
noooc = 1;
BroadCast(COLOR_GREEN, " OOC chat channel disabled by an Admin!");
}
else
{
noooc = 0;
new string[ 180 ];
format(string, sizeof(string), " {00FFD0}OOC chat channel enabled by an Admin! - {FFFF00}Do {FF0000}NOT {FFFF00}abuse OOC chat with {0099FF}Spamming, {F200FF}Insulting, (8400FF)Cursing, {FFFF00}You will get punishment for that.");
ABroadCast(COLOR_YELLOW, string, 180 );
}
}
else
{
SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!");
}
return 1;
}