AM SA POSTEZ SI LINIILE CARE IMI DA EROARE POATE VA DATI SEAMA DE LA CE ESTE :sad: pawno\include\SpikeStrip.inc(27) : warning 219: local variable "lights" shadows a variable at a preceding level
#define SLOT 1
pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
if (BallasCar(vehicleid) && !ispassenger)
{
if(PlayerInfo[playerid][pLeader]==17||PlayerInfo[playerid][pMember]==17) { }
else
{
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(11070) : warning 204: symbol is assigned a value that is never used: "caritate2"
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(11069) : warning 204: symbol is assigned a value that is never used: "caritate1"
new caritate1 = PlayerInfo[targetid][pCaritate];
new caritate2 = PlayerInfo[targetid][pCaritatePuncte];
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(55707) : error 017: undefined symbol "AdminSpeckON"
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(55707) : warning 215: expression has no effect
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(55707) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(55707) : error 029: invalid expression, assumed zero
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(55707) : fatal error 107: too many error messages on one line
public IsPlayerAdminCall(playerid)
{
if(PlayerInfo[playerid][pAdmin] > 0)
{
AdminSpeckON[playerid] = 1;
AdminPingON[playerid] = 1;
}
if(PlayerInfo[playerid][pAdmin] > 0)
return 1;
else
return 0;
}
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(14814) : error 021: symbol already defined: "OnPlayerUpdate"
public OnPlayerUpdate(playerid)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid])
{
new string3[64];
new playername3[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername3, sizeof(playername3));
format(string3, sizeof(string3), "users/%s.ini", playername3);
new File: hFile = fopen(string3, io_write);
if (hFile)
{
C:\Documents and Settings\CyPy\Desktop\a2viatapwn\a2viata.pwn(54262) : error 021: symbol already defined: "NameTimer"
public NameTimer()
{
for(new i = 0;i < MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
for(new q = 0;q < MAX_PLAYERS;q++)
{
if(IsPlayerConnected(q))
{
new Float:p1x;
new Float:p1y;
new Float:p1z;
new Float:p2x;
new Float:p2y;
new Float:p2z;
if(IsPlayerConnected(i) && IsPlayerConnected(q))
{
GetPlayerPos(i,p1x,p1y,p1z);
GetPlayerPos(q,p2x,p2y,p2z);
if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance)
{
if(PlayerInfo[q][pMaskuse] != 1)
{
ShowPlayerNameTagForPlayer(i,q,1);
}
}
else
{
ShowPlayerNameTagForPlayer(i,q,0);
}
}
}
}
}
}
}
CAM ASTA ESTE. VA IMPLOR AJUTATIMA