(ShowPlayerNameTagForPlayer) Problem.
#1

I got a problem.

Quote:

if (strcmp("/nameoff", cmdtext, true, 7) == 0)
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] ==
{
if (NameOff[playerid] == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(i, playerid, 0);
}
}
SendClientMessage(playerid,COLOR_GREY,"Nobody knows your real identity now!");
NameOff[playerid] = 1;
return 1;
}
}
}
if (strcmp("/nameon", cmdtext, true, 6) == 0)
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] ==
{
if (NameOff[playerid] == 1)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(i, playerid, 1);
}
}
NameOff[playerid] = 0;
SendClientMessage(playerid,COLOR_GREY,"You now have your real identity!");
return 1;
}
}
}

This just won't work !!!
The nametag dissapears like for,1 millisecond.
I tried everything,putting both commands just in one,changing some things but still the same problem.

Please,this command is a very important one for my RPG mode.

If you have time to help me,I would be grateful.
Regards - FreeSoul
Reply


Messages In This Thread
(ShowPlayerNameTagForPlayer) Problem. - by FreeSoul - 16.05.2009, 19:19
Re: (ShowPlayerNameTagForPlayer) Problem. - by dice7 - 16.05.2009, 19:28
Re: (ShowPlayerNameTagForPlayer) Problem. - by FreeSoul - 16.05.2009, 19:34
Re: (ShowPlayerNameTagForPlayer) Problem. - by member - 16.05.2009, 19:38
Re: (ShowPlayerNameTagForPlayer) Problem. - by FreeSoul - 16.05.2009, 19:41
Re: (ShowPlayerNameTagForPlayer) Problem. - by FreeSoul - 17.05.2009, 06:57

Forum Jump:


Users browsing this thread: 1 Guest(s)