29.10.2014, 22:34
Before you ask, this is all under GamemodeInit. Everything is correctly defined, not sure what the problem is.
Error Log
Код:
adlog[playerid] = CreatePlayerTextDraw(playerid, 192.000122, 331.520019, "Admin Log"); PlayerTextDrawLetterSize(playerid, adlog[playerid], 0.237199, 0.905599); PlayerTextDrawAlignment(playerid, adlog[playerid], 2); PlayerTextDrawColor(playerid, adlog[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, adlog[playerid], 0); PlayerTextDrawSetOutline(playerid, adlog[playerid], 1); PlayerTextDrawBackgroundColor(playerid, adlog[playerid], 255); PlayerTextDrawFont(playerid, adlog[playerid], 1); PlayerTextDrawSetProportional(playerid, adlog[playerid], 1); Alog8[playerid] = CreatePlayerTextDraw(playerid, 146.399948, 346.453430, ""); PlayerTextDrawLetterSize(playerid, Alog8[playerid], 0.208399, 0.913066); PlayerTextDrawAlignment(playerid, Alog8[playerid], 1); PlayerTextDrawColor(playerid, Alog8[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog8[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog8[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog8[playerid], 255); PlayerTextDrawFont(playerid, Alog8[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog8[playerid], 1); Alog7[playerid] = CreatePlayerTextDraw(playerid, 146.399856, 354.666625, ""); PlayerTextDrawLetterSize(playerid, Alog7[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog7[playerid], 1); PlayerTextDrawColor(playerid, Alog7[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog7[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog7[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog7[playerid], 255); PlayerTextDrawFont(playerid, Alog7[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog7[playerid], 1); Alog6[playerid] = CreatePlayerTextDraw(playerid, 146.399963, 362.880004, ""); PlayerTextDrawLetterSize(playerid, Alog6[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog6[playerid], 1); PlayerTextDrawColor(playerid, Alog6[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog6[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog6[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog6[playerid], 255); PlayerTextDrawFont(playerid, Alog6[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog6[playerid], 1); Alog5[playerid] = CreatePlayerTextDraw(playerid, 146.400009, 371.093353, ""); PlayerTextDrawLetterSize(playerid, Alog5[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog5[playerid], 1); PlayerTextDrawColor(playerid, Alog5[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog5[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog5[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog5[playerid], 255); PlayerTextDrawFont(playerid, Alog5[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog5[playerid], 1); Alog4[playerid] = CreatePlayerTextDraw(playerid, 146.400009, 379.306610, ""); PlayerTextDrawLetterSize(playerid, Alog4[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog4[playerid], 1); PlayerTextDrawColor(playerid, Alog4[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog4[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog4[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog4[playerid], 255); PlayerTextDrawFont(playerid, Alog4[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog4[playerid], 1); Alog3[playerid] = CreatePlayerTextDraw(playerid, 146.400039, 386.773376, ""); PlayerTextDrawLetterSize(playerid, Alog3[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog3[playerid], 1); PlayerTextDrawColor(playerid, Alog3[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog3[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog3[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog3[playerid], 255); PlayerTextDrawFont(playerid, Alog3[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog3[playerid], 1); Alog2[playerid] = CreatePlayerTextDraw(playerid, 146.399978, 394.239837, ""); PlayerTextDrawLetterSize(playerid, Alog2[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog2[playerid], 1); PlayerTextDrawColor(playerid, Alog2[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog2[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog2[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog2[playerid], 255); PlayerTextDrawFont(playerid, Alog2[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog2[playerid], 1); Alog1[playerid] = CreatePlayerTextDraw(playerid, 146.399917, 401.706665, ""); PlayerTextDrawLetterSize(playerid, Alog1[playerid], 0.208398, 0.913066); PlayerTextDrawAlignment(playerid, Alog1[playerid], 1); PlayerTextDrawColor(playerid, Alog1[playerid], COLOR_WHITE); PlayerTextDrawSetShadow(playerid, Alog1[playerid], 0); PlayerTextDrawSetOutline(playerid, Alog1[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Alog1[playerid], 255); PlayerTextDrawFont(playerid, Alog1[playerid], 1); PlayerTextDrawSetProportional(playerid, Alog1[playerid], 1); Alogbox[playerid] = CreatePlayerTextDraw(playerid, 147.599990, 344.966674, "usebox"); PlayerTextDrawLetterSize(playerid, Alogbox[playerid], 0.000000, -0.316666); PlayerTextDrawTextSize(playerid, Alogbox[playerid], 236.400009, 0.000000); PlayerTextDrawAlignment(playerid, Alogbox[playerid], 1); PlayerTextDrawColor(playerid, Alogbox[playerid], 0); PlayerTextDrawUseBox(playerid, Alogbox[playerid], true); PlayerTextDrawBoxColor(playerid, Alogbox[playerid], 102); PlayerTextDrawSetShadow(playerid, Alogbox[playerid], 0); PlayerTextDrawSetOutline(playerid, Alogbox[playerid], 0); PlayerTextDrawFont(playerid, Alogbox[playerid], 0);
Код:
C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(672) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(673) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(674) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(675) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(676) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(677) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(678) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(679) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(680) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(682) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(683) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(684) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(685) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(686) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(687) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(688) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(689) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(690) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(692) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(693) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(694) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(695) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(696) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(697) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(698) : error 017: undefined symbol "playerid" C:\Users\\Desktop\L-S-K-Zv1-2\gamemodes\lsgw.pwn(699) : error 017: undefined symbol "playerid" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.