Zaključano
[TuT] Kako napraviti sustav organizacija od nule?
14,514
pregleda
80
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 13 godina
Izbaci mi ove errore
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(313) : error 014: invalid statement; not in switch
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(313) : error 029: invalid expression, assumed zero
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(339) : error 010: invalid function or declaration
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(621) : warning 203: symbol is never used: "invite"
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(621) : warning 203: symbol is never used: "izbaci"
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(621) : warning 203: symbol is never used: "makeleader"
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(621) : warning 203: symbol is never used: "r"
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(621) : warning 203: symbol is never used: "radio"
C:\Documents and Settings\HS56\Desktop\TechLand Xperia\gamemodes\123.pwn(621) : warning 203: symbol is never used: "rankup"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
pre 13 godina
C:\Users\Kristijan\Desktop\Server Novi Mod\gamemodes\QuerZex.pwn(455) : error 017: undefined symbol "foreach"
C:\Users\Kristijan\Desktop\Server Novi Mod\gamemodes\QuerZex.pwn(455) : error 029: invalid expression, assumed zero
C:\Users\Kristijan\Desktop\Server Novi Mod\gamemodes\QuerZex.pwn(455) : error 017: undefined symbol "iPlayerID"
C:\Users\Kristijan\Desktop\Server Novi Mod\gamemodes\QuerZex.pwn(455) : 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.
Evo linije:
foreach(new iPlayerID : Player)A evo cijele CMD:
CMD:r(playerid, params[])
{
if (PlayerInfo > 0 || PlayerInfo > 0)
{
new
szChatMsg,
szPlayerName,
szMessage;
if (sscanf(params, "s", szChatMsg)) // Ako igrac nije upisao sve potrebne parametre, ispisuje mu tu poruku
return SendClientMessage(playerid, C_WHITE, "KORISTI: (/r)adio ");
GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);
foreach(new iPlayerID : Player)
{
// Prolazi kroz sve online igrace i provjerava da li su u istoj organizaciji kao i posiljatelj poruke
if (PlayerInfo == PlayerInfo || PlayerInfo == PlayerInfo)
{
format(szMessage, sizeof(szMessage), "%s %s kaze: %s", GetPlayerRank(playerid), szPlayerName, szChatMsg);
SendClientMessage(iPlayerID, C_WHITE, szMessage);
}
}
}
else
SendClientMessage(playerid, C_WHITE, "ERROR: Moras biti clan neke organizacije da koristis ovu komandu.");
return 1;
}Dobio sam ove errore kako to rjesiti ?
pre 13 godina
aj napravi ako mozes da se offline moze izbacit, i komandu da se moze maknit lider
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava