10.11.2013, 14:36
These are the lines:
Errors:
Please help
PHP код:
if(arr_Engine{iVehicle} == 1) {
new String[128];
format(string,sizeof(string),"~b~Speed:~n~%.0f MPH", player_get_speed(i));
VHS[i] = TextDrawCreate(545.000000,387.000000,String);
TextDrawAlignment(VHS[i],0);
TextDrawBackgroundColor(VHS[i],0x000000ff);
TextDrawFont(VHS[i],1);
TextDrawLetterSize(VHS[i],0.299999,1.000000);
TextDrawColor(VHS[i],0xffffffff);
TextDrawSetOutline(VHS[i],1);
TextDrawSetProportional(VHS[i],1);
TextDrawSetShadow(VHS[i],1);
TextDrawShowForPlayer(i, VHS[i]);
}
PHP код:
C:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(110928) : error 017: undefined symbol "player_get_speed"
C:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(110970) : error 017: undefined symbol "playerid"
C:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(110979) : error 010: invalid function or declaration
C:\Users\Thomas Williams\Desktop\Our Server\gamemodes\GTA.pwn(110999) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhaseaborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase