What's the difference
#1

Hi there! What's the difference between:

Код HTML:
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:
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?
Reply


Messages In This Thread
What's the difference - by Nin9r - 09.05.2017, 11:59
Re: What's the difference - by Toroi - 09.05.2017, 12:21
Re: What's the difference - by Nin9r - 09.05.2017, 12:27

Forum Jump:


Users browsing this thread: 1 Guest(s)