Potrebna mi je FS za iskljucivanje imena iznad glave igraca.......
i neka dobra tuning FS npr /tuning i teleportuje te u onu gazau u SF....
hvala unaprijed
Stefan Dominic ;)
Za prvo ti netreba nikakav FS. Samo koristi ShowNameTags(0);
Citat: LordShigi poslato Jul 29, 2010, 22:18:34 POSLE PODNE
Za prvo ti netreba nikakav FS. Samo koristi ShowNameTags(0);
ja sam admin 1338 i samo ukucam to u konzolu jel?
//NAMETAGOVI
if(strcmp(cmd, "/nametagson", true)==0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Nametags are enabled.");
PlayerPlaySound(playerid, 1137, 0.0, 0.0, 0.0);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(playerid, i, 1);
}
}
}
//NAMETAGOFF
if(strcmp(cmd, "/nametagsoff", true)==0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Nametags are disabled.");
PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(playerid, i, 0);
}
}
}
Eto ti..
Tu bi se jos moglo dodati na pocetku moda
new nametagovi = 1;
i u komandu nametagson stavis nametagovi = 1;
a pod komandu nametagsoff stavis nametagovi = 0;
pod OnPlayerConnect stavis
if(nametagovi == 1)
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(playerid, i, 1);
}
}
}
else
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(playerid, i, 0);
}
}
}