06.11.2016, 03:11
How to Define this and fix error?
Код:
C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1436) : error 017: undefined symbol "TagData" C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1436) : error 029: invalid expression, assumed zero C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1436) : error 029: invalid expression, assumed zero C:\Users\pc9\Desktop\RP\gamemodes\rp.pwn(1436) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
forward ParseServerTag(index, name[], value[]); public ParseServerTag(index, name[], value[]) { HighestTagID = index; INI_String("Author", TagData[index][eTaggerName], MAX_PLAYER_NAME); INI_String("Text", TagData[index][eTagText], MAX_TEXT_LENGHT); INI_String("Font", TagData[index][eTagFont], 16); INI_Int("Size", TagData[index][eTagSize]); INI_Int("Color", TagData[index][eTagTextColor]); INI_Int("Bold", TagData[index][eTagBold]); INI_Float("X_Pos", TagData[index][eTagPos][0]); INI_Float("Y_Pos", TagData[index][eTagPos][1]); INI_Float("Z_Pos", TagData[index][eTagPos][2]); INI_Float("RX_Pos", TagData[index][eTagPos][3]); INI_Float("RY_Pos", TagData[index][eTagPos][4]); INI_Float("RZ_Pos", TagData[index][eTagPos][5]); SetTimerEx("BuildTag", 500, false, "d", index); return 1; }