08.11.2014, 07:06
Hello! i wanna make a box banned
or whatever.. anyways i get errors and i have no idea why.
or whatever.. anyways i get errors and i have no idea why.
Код:
Textdraw17[playerid] = CreatePlayerTextDraw(468.250000, 148.500000, "usebox"); TextDrawLetterSize(Textdraw0, 0.000000, 15.627778); TextDrawTextSize(Textdraw0, 128.625000, 0.000000); TextDrawAlignment(Textdraw0, 1); TextDrawColor(Textdraw0, 0); TextDrawUseBox(Textdraw0, true); TextDrawBoxColor(Textdraw0, 102); TextDrawSetShadow(Textdraw0, 0); TextDrawSetOutline(Textdraw0, 0); TextDrawFont(Textdraw0, 0); Textdraw18[playerid] = CreatePlayerTextDraw(258.125000, 148.166702, "Banned"); TextDrawLetterSize(Textdraw1, 0.582499, 2.019999); TextDrawAlignment(Textdraw1, 1); TextDrawColor(Textdraw1, -16776961); TextDrawSetShadow(Textdraw1, 0); TextDrawSetOutline(Textdraw1, 1); TextDrawBackgroundColor(Textdraw1, 51); TextDrawFont(Textdraw1, 1); TextDrawSetProportional(Textdraw1, 1); Textdraw19[playerid] = CreatePlayerTextDraw(155.000000, 184.333328, "You have been banned from LSCNR"); TextDrawLetterSize(Textdraw2, 0.487500, 1.996665); TextDrawAlignment(Textdraw2, 1); TextDrawColor(Textdraw2, -16776961); TextDrawSetShadow(Textdraw2, 0); TextDrawSetOutline(Textdraw2, 1); TextDrawBackgroundColor(Textdraw2, 51); TextDrawFont(Textdraw2, 3); TextDrawSetProportional(Textdraw2, 1); Textdraw20[playerid] = CreatePlayerTextDraw(139.375000, 229.833312, "If you think this ban was wrong please make a ban appeal on"); TextDrawLetterSize(Textdraw3, 0.275624, 1.407498); TextDrawAlignment(Textdraw3, 1); TextDrawColor(Textdraw3, -16776961); TextDrawSetShadow(Textdraw3, 0); TextDrawSetOutline(Textdraw3, 1); TextDrawBackgroundColor(Textdraw3, 51); TextDrawFont(Textdraw3, 3); TextDrawSetProportional(Textdraw3, 1); Textdraw21[playerid] = CreatePlayerTextDraw(playerid, 203.750000, 264.833312, "www.lscnrsamp.tk"); PlayerTextDrawLetterSize(playerid, Textdraw0[playerid], 0.449999, 1.600000); PlayerTextDrawAlignment(playerid, Textdraw0[playerid], 1); PlayerTextDrawColor(playerid, Textdraw0[playerid], -5963521); PlayerTextDrawSetShadow(playerid, Textdraw0[playerid], 0); PlayerTextDrawSetOutline(playerid, Textdraw0[playerid], 1); PlayerTextDrawBackgroundColor(playerid, Textdraw0[playerid], 51); PlayerTextDrawFont(playerid, Textdraw0[playerid], 2); PlayerTextDrawSetProportional(playerid, Textdraw0[playerid], 1);
Код:
C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(459) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(470) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(480) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(490) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(500) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(501) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(501) : error 017: undefined symbol "playerid" C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(501) : error 029: invalid expression, assumed zero C:\Users\yan\Desktop\LSCNR\gamemodes\LSCNR.pwn(501) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.