10.05.2009, 17:29
(
Последний раз редактировалось RenisiL; 12.01.2011 в 13:07.
)
-------------------
public OnPlayerRequestSpawn(playerid)
{
if(!Logged[playerid])) // playerid is probably missed, it must be there IMO
{
GameTextForPlayer(playerid, "uzsiregistruok arba prisijunk bl", 5000,4);
return 0;
}
return 1;
}
C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : error 028: invalid subscript (not an array or too many subscripts): "Logged" C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : warning 215: expression has no effect C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : error 001: expected token: ";", but found "]" C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : error 029: invalid expression, assumed zero C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
public OnPlayerRequestSpawn(playerid)
{
if(Logged[playerid] != 1)
{
GameTextForPlayer(playerid, "uzsiregistruok arba prisijunk bl", 5000, 4);
return 0;
}
return 1;
}
C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : error 028: invalid subscript (not an array or too many subscripts): "Logged" C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : warning 215: expression has no effect C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : error 001: expected token: ";", but found "]" C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : error 029: invalid expression, assumed zero C:\Documents and Settings\LT\Desktop\LT-Drift.pwn(507) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
// add that
new Logged[MAX_PLAYERS];