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

warning 215: expression has no effect Pawn compiler 3

$
0
0
Code:

stock PlayerICName(playerid)
{
        new name[MAX_PLAYER_NAME];
        if(PlayerInfo[playerid][pMask] == 0)
        {
                strmid(name, str_replace('_', ' ', PlayerName(playerid)), 0, MAX_PLAYER_NAME);
        }
        /*else if(PlayerInfo[playerid][pMask] == 1 && PlayerInfo[playerid][pMember] == 14)
        {
            name = "IA Agent";
        }*/
        else
        {
                name = "Stranger(%d)", maskidez[playerid]; // this shows error
        }
        return name;
}


Viewing all articles
Browse latest Browse all 18226

Trending Articles



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