[POMOC] Eror

Započeo Filipett, April 01, 2011, 19:00:28 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Skripta koju koristim: GTARP editovan
Detaljan opis problema: Promenio sam u modu boje od imena i kada idem compliler izadje mi 26 errora:
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(15097) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(15097) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(15097) : warning 203: symbol is never used: "Index"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16099) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16099) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16321) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16321) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16428) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16428) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16545) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16545) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16657) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(16657) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(17036) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(17036) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(17107) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(17107) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(17211) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(17211) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18126) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18126) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18497) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18497) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18519) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18519) : error 033: array must be indexed (variable "tmp")
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18527) : error 017: undefined symbol "strtok"
C:\Documents and Settings\SPC\Desktop\[PG]1Roleplay.pwn(18527) : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Dio skripte: public SetPlayerToTeamColor(playerid)
{
if(IsPlayerConnected(playerid))
{
   if (PlayerInfo[playerid][pLeader] == 5)
       SetPlayerColor(playerid,COLOR_PURPLE);
       if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
       SetPlayerColor(playerid,COLOR_RED);
       if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pLeader] == 1)
       SetPlayerColor(playerid,COLOR_BLUE);
       if (PlayerInfo[playerid][pLeader] == 14)
       SetPlayerColor(playerid,COLOR_DARKNICERED);
       if (PlayerInfo[playerid][pLeader] == 15)
       SetPlayerColor(playerid,COLOR_GROVE);
}
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):

poznaticovik

Pa jesi definirao u imena tih boja? Ne razumijem baÅ¡ tvoj problem  :-\