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

Errors.

$
0
0
Code:

C:\Users\o\Desktop\BDRP TRD\gamemodes\TRD.pwn(295) : error 001: expected token: ")", but found "["
C:\Users\o\Desktop\BDRP TRD\gamemodes\TRD.pwn(295) : error 029: invalid expression, assumed zero
C:\Users\o\Desktop\BDRP TRD\gamemodes\TRD.pwn(295) : warning 215: expression has no effect
C:\Users\o\Desktop\BDRP TRD\gamemodes\TRD.pwn(295) : error 001: expected token: ";", but found "]"
C:\Users\o\Desktop\BDRP TRD\gamemodes\TRD.pwn(295) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Code:

stock GetDruggInfo(playerid, slot)
{
        new info[64];
        if(PlayerInfo[playerid][pDrug][slot] == 0) // line 295
        {
                info = "Empty";
        }
        else
        {
                format(info, sizeof(info), "%s(%d)", GetDrugName(PlayerInfo[playerid][pDrug][slot]), PlayerInfo[playerid][pDrugAmount][slot]);
        }
        return info;
}


any ideas?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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