Imam ove erore
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(1705) : error 001: expected token: "}", but found "-identifier-"
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(1705) : error 010: invalid function or declaration
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(1707) : error 054: unmatched closing brace ("}")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(1707) : error 010: invalid function or declaration
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(2390) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(3422) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(3912) : error 004: function "SetPlayerToTeamColor" is not implemented
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4005) : error 004: function "ini_GetKey" is not implemented
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4005) : error 033: array must be indexed (variable "keytmp")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4008) : error 033: array must be indexed (variable "valtmp")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4017) : error 004: function "ini_GetKey" is not implemented
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4017) : error 033: array must be indexed (variable "key")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4018) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4019) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4020) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4021) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4022) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4023) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4024) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4025) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4026) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4027) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4028) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4029) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4030) : error 033: array must be indexed (variable "val")
C:\Documents and Settings\Dzon\Desktop\LSLRP\gamemodes\lslrp.pwn(4031) : error 033: array must be indexed (variable "val")
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Na ovim linijama
1705-1707 pCarLocked,
pJustConnected,
pHasSprunk,
pHasCigar,
pMedicKit,
pPole,
pBucket,
pGPS
pOranje,
};
2390//----------------------[ DMVCheck() ] -------------------------------
public DMVCheck()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (PlayerToPoint(2.0, i, 362.2238,173.6231,1008.3828))
{
if(DMVName[i] == 0) { DMVMessage[i] = 0; }
ElevatorMessage[i] = 0;
}
}
}
return 1;
}
3422 if(PlayerToPoint(8.0,playerid,1585.2357,-1682.6119,5.2500) || PlayerToPoint(8.0,playerid,1381.8567,459.1273,20.3452))
{
return 1;
}
}
return 0;
}
3912 SetPlayerToTeamColor(playerid);
4005-4031 keytmp = ini_GetKey( PassData );
if( strcmp( keytmp , "Key" , true ) == 0 )
{
valtmp = ini_GetValue( PassData );
strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
}
if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
{
new key[ 256 ] , val[ 256 ];
new Data[ 256 ];
while ( fread( UserFile , Data , sizeof( Data ) ) )
{
key = ini_GetKey( Data );
if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); }
if( strcmp( key , "GMLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGM] = strval( val ); }
if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); }
if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][gPupgrade] = strval( val ); }
if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); }
if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); }
if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSex] = strval( val ); }
if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAge] = strval( val ); }
if( strcmp( key , "CK" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCK] = strval( val ); }
if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuted] = strval( val ); }
if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pExp] = strval( val ); }
if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); }
if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccount] = strval( val ); }
pCarLocked,
pJustConnected,
pHasSprunk,
pHasCigar,
pMedicKit,
pPole,
pBucket,
pGPS
pOranje,
};
2390//----------------------[ DMVCheck() ] -------------------------------
public DMVCheck()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if (PlayerToPoint(2.0, i, 362.2238,173.6231,1008.3828))
{
if(DMVName == 0) { DMVMessage = 0; }
ElevatorMessage = 0;
}
}
}
return 1;
}
3422 if(PlayerToPoint(8.0,playerid,1585.2357,-1682.6119,5.2500) || PlayerToPoint(8.0,playerid,1381.8567,459.1273,20.3452))
{
return 1;
}
}
return 0;
}
3912 SetPlayerToTeamColor(playerid);
4005-4031 keytmp = ini_GetKey( PassData );
if( strcmp( keytmp , "Key" , true ) == 0 )
{
valtmp = ini_GetValue( PassData );
strmid(PlayerInfo[playerid][pKey], valtmp, 0, strlen(valtmp)-1, 255);
}
if(strcmp(PlayerInfo[playerid][pKey],password, true ) == 0 )
{
new key[ 256 ] , val[ 256 ];
new Data[ 256 ];
while ( fread( UserFile , Data , sizeof( Data ) ) )
{
key = ini_GetKey( Data );
if( strcmp( key , "Level" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pLevel] = strval( val ); }
if( strcmp( key , "AdminLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAdmin] = strval( val ); }
if( strcmp( key , "GMLevel" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pGM] = strval( val ); }
if( strcmp( key , "DonateRank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pDonateRank] = strval( val ); }
if( strcmp( key , "UpgradePoints" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][gPupgrade] = strval( val ); }
if( strcmp( key , "ConnectedTime" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pConnectTime] = strval( val ); }
if( strcmp( key , "Registered" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pReg] = strval( val ); }
if( strcmp( key , "Sex" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pSex] = strval( val ); }
if( strcmp( key , "Age" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAge] = strval( val ); }
if( strcmp( key , "CK" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCK] = strval( val ); }
if( strcmp( key , "Muted" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pMuted] = strval( val ); }
if( strcmp( key , "Respect" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pExp] = strval( val ); }
if( strcmp( key , "Money" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pCash] = strval( val ); }
if( strcmp( key , "Bank" , true ) == 0 ) { val = ini_GetValue( Data ); PlayerInfo[playerid][pAccount] = strval( val ); }
Korisit
Hvala
od prve vidim da kod pGPS nemas zarez...
znaci pGPS, mora biti...