01.02.2014, 18:19
I tried adding the command (/interiors) to my server and I came across a few warnings, and an error. Here's the codes and here's the errors/warnings:
BELOW THIS IS LINE 89802, MY SCRIPT ONLY GOES UP TO 89802 LINES NOT 89803
Код:
CMD:interiors(playerid, params[]) { if (PlayerInfo[playerid][pAdmin] >= 4) { ShowInteriorDialog(playerid); } else { SendClientMessageEx(playerid, COLOR_GRAD1, "You are not authorized to use that command!"); } return 1; }
Код:
C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(30937) : error 017: undefined symbol "ShowInteriorDialog" C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(55342) : warning 211: possibly unintended assignment C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(89803) : warning 203: symbol is never used: "InteriorDialogData" C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(89803) : warning 203: symbol is never used: "InteriorDialogInteriors" C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(89803) : warning 203: symbol is never used: "InteriorDialogNames" C:\Users\Ryan\Desktop\Ryan's Server\gamemodes\VGRP.pwn(89803) : warning 203: symbol is never used: "LoadCarrier" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
#pragma unused ExecuteHackerAction