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

What's the difference

$
0
0
Hi there! What's the difference between:

HTML Code:

CMD:nameoff(playerid, params[])
{
        if(PlayerData[playerid][pAdminLevel] >= 6)
        {
    for(new i = GetPlayerPoolSize(); i != -1; --i) ShowPlayerNameTagForPlayer(playerid, i, false);
    GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
    return 1;
        }
}

and

HTML Code:

CMD:nameoff(playerid, params[])
{
        if(PlayerData[playerid][pAdminLevel] >= 6)
        {
    for(new i = GetPlayerPoolSize(); i != -1; --i) ShowPlayerNameTagForPlayer(playerid, i, false);
    GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
        }
      return 1;
}

Does it matter where return 1; is put?

Viewing all articles
Browse latest Browse all 18226

Trending Articles



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