08.01.2011, 21:30
Код:
4452. if(strcmp(cmdtext, "/giverpp", true) == 0)
{
if(PlayerInfo[playerid][Level] >= 3)
{
new tmp2[256], Index, player1;
tmp = strtok(params,Index)
player1 = strval(tmp);
if(!strlen(tmp)) return SendClientMessage(playerid, red, "USAGE: /giverpp [playerid]");
if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
{
CMDMessageToAdmins(playerid,"GIVERPP");
PlayerData[player1][Rpp]++;
format(string, sizeof(string), "You have given a Roleplay Point To \"%s\"", PlayerName2(player1);
SendClientMessage(playerid,yellow,string);
if(player1 != playerid)
{
format(string,sizeof(string),"Administrator \"%s\" has given you a Roleplay Point", PlayerName2(playerid);
SendClientMessage(player1,yellow,string);
PlayerData[playerid][Rpp]++;
}
} else return SendClientMessage(playerid,red,"ERROR: Player is not connected");
} else return SendClientMessage(playerid,red,"ERROR: You are not a high enough level to use this command");
4474. return 1;
4475. }

C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4369) : warning 204: symbol is assigned a value that is never used: "pDeaths"
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4452) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4457) : error 017: undefined symbol "params"
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4463) : error 028: invalid subscript (not an array or too many subscripts): "PlayerData"
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4463) : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4463) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4463) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Escritorio\Servers\Server Gangster 0.3c\filterscripts\ladmin4v2.pwn(4463) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.

