Script small question
#4

PHP код:
if (strcmp("/mask"cmdtexttrue) == 0)
{
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
         {
            
ShowPlayerNameTagForPlayer(iplayerid0);
            
GameTextForPlayer(playerid"~W~You have put mask ~g~ on"50005);
        }
    }
    return 
1;
}
if (
strcmp("/maskoff"cmdtexttrue) == 0)
{
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
         {
            
ShowPlayerNameTagForPlayer(iplayerid1);
            
GameTextForPlayer(playerid"~W~You have put mask ~g~ off"50005);
        }
    }
    return 
1;

It should work.
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: 4 Guest(s)