[TuT] Kako napraviti sustav organizacija od nule?

Započeo Joey_, Jul 28, 2012, 22:34:48 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.


Hvala. :)

@dReaMMM', jesi sve zamijenio sa nazivom pInfo i da li imaš definiranu tu varijablu?

Last nick: Paradox

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.

Nemaš ZCMD include. Download tog includea možeš naći u tutorialu. ;)

Last nick: Paradox

Dobar tut  :) 10/0

Uskoro!
Usput trazim mapera,inbox zainteresirani!

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[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0)
{
new
szChatMsg[128],
szPlayerName[MAX_PLAYER_NAME],
szMessage[128];

if (sscanf(params, "s[128]", szChatMsg)) // Ako igrac nije upisao sve potrebne parametre, ispisuje mu tu poruku
return SendClientMessage(playerid, C_WHITE, "KORISTI: (/r)adio [tekst]");

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[iPlayerID][pMember] == PlayerInfo[playerid][pMember] || PlayerInfo[iPlayerID][pLeader] == PlayerInfo[playerid][pLeader])
{
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 ?
Poslednja Izmena: Avgust 02, 2012, 11:31:51 PRE PODNE od [YUB] Marquez
Mike Marquez | House of Rave is Trippy Place ! |

Imam, stavljen je i to mi izbacuje i ja sam se cudio :S
Mike Marquez | House of Rave is Trippy Place ! |




Ako imas problem nemoras onda DP radit. -.-
[Spamer na dužnosti! Ne ometaj!]