can someone fix these errors
#1

Quote:

cmd(cc, playerid, params[])
{
if (!IsPlayerAdmin(playerid)) return 1;
new
red = random(256),
green = random(256),
blue = random(256),
colour = 0xFFFFFFAA,
string[128];
colour = (colour & 0x00FFFFFF) | (red << 24);
colour = (colour & 0xFF00FFFF) | (green << 16);
colour = (colour & 0xFFFF00FF) | (blue << ;
for (new i; i < 80; ++i) SendClientMessageToAll(colour, " ");
GetPlayerName(playerid, string, sizeof (string));
format(string, sizeof (string), "Admin %s cleared the chat!", string);
SendClientMessageToAll(colour, string);
return 1;
}

this is my cc cmd.
and get these errors pls fix it
Quote:

C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(1686) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(1687) : warning 217: loose indentation
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(1687) : error 017: undefined symbol "colour"
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(1687) : warning 215: expression has no effect
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(1687 -- 168 : error 017: undefined symbol "string"
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(168 : warning 215: expression has no effect
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(168 : error 001: expected token: ";", but found "]"
C:\Users\intel\Desktop\New Folder\Roleplay Base Script\gamemodes\lfgr.pwn(168 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.

Reply


Messages In This Thread
can someone fix these errors - by nonamebla - 16.03.2013, 09:28
Re: can someone fix these errors - by Jstylezzz - 16.03.2013, 09:34

Forum Jump:


Users browsing this thread: 2 Guest(s)