Crashdetect errors
#1

I put crashdetect plugin on today. When i checked my console then i saw a pretty much errors.
pawn Код:
[debug] #0 0001a24c in public Benan2idik (0x00000000) from HGB.amx
Here is the code
pawn Код:
public Benan2idik(playerid)
{
    new vehicleid,bena_string[256];
    vehicleid = GetPlayerVehicleID(playerid);
    new bena;
   
    for(new i = 1; i < MAX_VEHICLES; i++)
    if( vehicleid != 0)
    {
    if(IsValidVehicle(vehicleid))
        {
        if(vInfo[i][vID] == vehicleid) bena = vInfo[i][vBensiin];
        else if(fInfo[i][Auto] == vehicleid) bena = fInfo[i][Bensiin];
        else if(taInfo[i][Auto] == vehicleid) bena = taInfo[i][Bensiin];
        format(bena_string,256,"Bensiini: %i", bena);
        TextDrawSetString(benunn[playerid], bena_string);
        }
}
    else
    {
        TextDrawSetString(benunn[playerid], " ");
    }
return 1;

}
Reply
#2

Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)