Script small question
#9

Alright, I was able to make it work, but there is a bug, when people use the mask, and a player logs in the mask won't work, the user who uses the mask will have to use /mask again to cover his Tagname.
How can I add it ?

This is my command :
PHP код:
 if(strcmp(cmdtext,"/mask",true) == 0)
{
for(new 
0MAX_PLAYERSi++)
 
ShowPlayerNameTagForPlayer(i,playerid,0);
 if(
Mask == 0)return SendClientMessage(playerid,0xFF6C6CFF,"You don't have a mask !");
 
DisableNameTagLOS();
  
GameTextForPlayer(playerid"~W~You have put mask ~g~ on"50005);
 return 
1;
 } 
Reply


Messages In This Thread
Script small question - by Scriptissue - 27.09.2010, 19:14
Re: Script small question - by sekol - 27.09.2010, 19:17
Re: Script small question - by Scriptissue - 27.09.2010, 19:20
Re: Script small question - by sekol - 27.09.2010, 19:25
Re: Script small question - by Scriptissue - 27.09.2010, 19:35
Re: Script small question - by sekol - 28.09.2010, 10:36
Re: Script small question - by Scriptissue - 28.09.2010, 11:28
Re: Script small question - by Mike_Peterson - 28.09.2010, 11:44
Re: Script small question - by Scriptissue - 28.09.2010, 13:09
Re: Script small question - by Mike_Peterson - 28.09.2010, 13:35

Forum Jump:


Users browsing this thread: 5 Guest(s)