Code:
ERROR:
Error on line:
PHP Code:
forward necuupdate();
public necuupdate()
{
foreach(Player, playerid)
{
if(UlogovanProvera[playerid] == 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(!VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(playerid))))
{
new sspeed[50];
new idvv[3];
//GetVehicleHealth( GetPlayerVehicleID(playerid), HP );
format(sspeed, sizeof(sspeed), "%dKM/H", GetSpeed(playerid));
PlayerTextDrawSetString(playerid, BRZINOMER[4][playerid], sspeed);
format(idvv, sizeof(idvv), "%d", GetVehicleModel(GetPlayerVehicleID(playerid)));
PlayerTextDrawSetPreviewModel(playerid, BRZINOMER[3][playerid], idvv);
new Float: Pos[4];
GetVehicleVelocity(GetPlayerVehicleID(playerid), Pos[0], Pos[1], Pos[2]);
new keys, ud, lr;
GetPlayerKeys(playerid, keys, ud, lr);
}
}
}
}
}
PHP Code:
C:\Users\iwanmf\Desktop\San Exin - Eldin\gamemodes\SE-RPG.pwn(20293) : error 035: argument type mismatch (argument 3)
Pawn compiler 3.10.4 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
[Finished in 3.1s with exit code 1]
[cmd: ['pawncc.exe', '-i includes', 'C:\\Users\\iwanmf\\Desktop\\San Exin - Eldin\\gamemodes\\SE-RPG.pwn', '-d3', '-Z+', '-;+']]
[dir: C:\Users\iwanmf\Desktop\San Exin - Eldin\gamemodes]
[path: C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\OpenVPN\bin;C:\Program Files\PuTTY\;C:\Users\iwanmf\AppData\Local\atom\bin;%DASHLANE_DLL_DIR%]
PHP Code:
PlayerTextDrawSetPreviewModel(playerid, BRZINOMER[3][playerid], idvv);