Ha kitörlöm a defined fs-t, akkor:
C:\\Users\\Sanyika\\Desktop\\sampszerver\\gamemodes\\tata_nyanya_mod.pwn(117) : error 029: invalid expression, assumed zero
C:\\Users\\Sanyika\\Desktop\\sampszerver\\gamemodes\\tata_nyanya_mod.pwn(117) : error 017: undefined symbol \"cmd_lock\"
C:\\Users\\Sanyika\\Desktop\\sampszerver\\gamemodes\\tata_nyanya_mod.pwn(117) : error 029: invalid expression, assumed zero
C:\\Users\\Sanyika\\Desktop\\sampszerver\\gamemodes\\tata_nyanya_mod.pwn(117) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
117. sor és az utána levõk:
CMD:lock(playerid, params[])
{
if (IsPlayerInAnyVehicle(playerid))
{
new State;
State=GetPlayerState(playerid);
if (State!=PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, 0xFFFF00AA, \"{FFFFFF}Elõszõr Ülj be egy jármübe!!!\");
return 1;
}
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
if (i != playerid)
{
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
}
}
SendClientMessage(playerid,blue, \"Bezárva\");
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid, 1056, X, Y, Z);
}
else
{
SendClientMessage(playerid,COLOR_RED, \"Nem tartózkodsz jármûben\");
}
return 1;
}