27.09.2010, 19:25
(
Последний раз редактировалось sekol; 27.09.2010 в 19:26.
Причина: Oops
)
PHP код:
if (strcmp("/mask", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(i, playerid, 0);
GameTextForPlayer(playerid, "~W~You have put mask ~g~ on", 5000, 5);
}
}
return 1;
}
if (strcmp("/maskoff", cmdtext, true) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(i, playerid, 1);
GameTextForPlayer(playerid, "~W~You have put mask ~g~ off", 5000, 5);
}
}
return 1;
}