09.05.2017, 11:59
Hi there! What's the difference between:
and
Does it matter where return 1; is put?
Код 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; } }
Код 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; }