C:\Users\Shum\Desktop\fac.pwn(82) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Shum\Desktop\fac.pwn(88) : error 017: undefined symbol "playerid" C:\Users\Shum\Desktop\fac.pwn(88) : error 029: invalid expression, assumed zero C:\Users\Shum\Desktop\fac.pwn(88) : error 017: undefined symbol "Matriculado" C:\Users\Shum\Desktop\fac.pwn(88) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
if(IsPlayerInRangeOfPoint(playerid, 15.0, -2033.3000488281, -117.59999847412, 1034.3000488281) && if(Matriculado(playerid) != 1)
Matriculado(playerid)
Matriculado[playerid]
if(IsPlayerInRangeOfPoint(playerid, 15.0, -2033.3000488281, -117.59999847412, 1034.3000488281) && if(Matriculado(playerid) != 1)
if(Matriculado(playerid) != 1)
if(Matriculado(playerid) != 1)
if(Matriculado(playerid) != 1)
if(Matriculado(playerid) == 0)
if(IsPlayerInRangeOfPoint(playerid, 15.0, -2033.3000488281, -117.59999847412, 1034.3000488281)
{
if(Matriculado(playerid) != 1)
{
// Comando a ser executado caso ele estiver na area e ser diferente de Matriculado(playerid) != 1
}
else
{
// Caso o Matriculado(playerid) for igual a 1
}
}
else
{
// Caso ele Nao esteja na Area
}
if(IsPlayerInRangeOfPoint(playerid, 15.0, -2033.3000488281, -117.59999847412, 1034.3000488281) && Matriculado[playerid] != 1)
pawn Код:
|
C:\Users\Shum\Desktop\fac.pwn(18) : error 001: expected token: "(", but found "[" C:\Users\Shum\Desktop\fac.pwn(20) : error 001: expected token: "(", but found "[" C:\Users\Shum\Desktop\fac.pwn(22) : error 001: expected token: "(", but found "[" C:\Users\Shum\Desktop\fac.pwn(24) : error 001: expected token: "(", but found "[" C:\Users\Shum\Desktop\fac.pwn(26) : error 001: expected token: "(", but found "[" C:\Users\Shum\Desktop\fac.pwn(27) : error 017: undefined symbol "playerid" C:\Users\Shum\Desktop\fac.pwn(28) : error 017: undefined symbol "playerid"
new LevelMatematica[MAX_PLAYERS];
forward LevelMatematica[playerid];
new LevelGeografia[MAX_PLAYERS];
forward LevelGeografia[playerid];
new LevelPortugues[MAX_PLAYERS];
forward LevelPortugues[playerid];
new LevelBiologia[MAX_PLAYERS];
forward LevelBiologia[playerid];
new LevelFisica[MAX_PLAYERS];
forward LevelFisica[playerid];
new Especializacao[playerid];
new Matriculado[playerid];
Matriculado = 0;
Especializacao = 0;
new Especializacao[playerid];
new Matriculado[playerid];
Matriculado = 0;
Especializacao = 0;
Matriculado[playerid] = 0;
Especializacao[playerid] = 0;
new LevelMatematica[MAX_PLAYERS];
forward LevelMatematica[playerid];
new LevelMatematica[MAX_PLAYERS];
forward LevelMatematica(playerid);
public LevelMatematica(playerid);
{
//codigo
return 1;
}
new LevelMatematica[MAX_PLAYERS];
LevelMatematica[playerid]=15;
LevelMatematica[playerid]=0;
new LevelMatematica[MAX_PLAYERS];