Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Little HELP please, +rep!!

$
0
0
Code:
PHP Code:

forward necuupdate();
public 
necuupdate()
{
        foreach(
Playerplayerid)
        {
        if(
UlogovanProvera[playerid] == 1)
        {
        if(
IsPlayerInAnyVehicle(playerid))
        {
        if(!
VoziloJeBicikla(GetVehicleModel(GetPlayerVehicleID(playerid))))
        {
        new 
sspeed[50];
        new 
idvv[3];
        
//GetVehicleHealth( GetPlayerVehicleID(playerid), HP );
        
format(sspeedsizeof(sspeed), "%dKM/H"GetSpeed(playerid));
        
PlayerTextDrawSetString(playeridBRZINOMER[4][playerid], sspeed);

        
format(idvvsizeof(idvv), "%d"GetVehicleModel(GetPlayerVehicleID(playerid)));
        
PlayerTextDrawSetPreviewModel(playeridBRZINOMER[3][playerid], idvv);

        new 
FloatPos[4];
        
GetVehicleVelocity(GetPlayerVehicleID(playerid), Pos[0], Pos[1], Pos[2]);
        new 
keysudlr;
        
GetPlayerKeys(playeridkeysudlr);
        }
        }
        }
}


ERROR:
PHP Code:

C:\Users\iwanmf\Desktop\San Exin Eldin\gamemodes\SE-RPG.pwn(20293) : error 035argument type mismatch (argument 3)
Pawn compiler 3.10.4              Copyright (c1997-2006ITB 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+''-;+']]
[
dirC:\Users\iwanmf\Desktop\San Exin Eldin\gamemodes]
[
pathC:\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%] 

Error on line:

PHP Code:

PlayerTextDrawSetPreviewModel(playeridBRZINOMER[3][playerid], idvv); 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>