How can i make player not use commands while jailed ?
#1

Like the title says - that didn't work

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
  if(
Mute[playerid] == 1
  {
    
SendClientMessage(playerid, -1"{FF0000}You're jailed, you're muted and you are not allowed to use commands.");
    return 
0;
  }
  else
  {
    if(
Mute[playerid] == 0) return 1;
  }
  return 
1;

Reply


Messages In This Thread
How can i make player not use commands while jailed ? - by Glossy42O - 09.02.2015, 15:28
Re: How can i make player not use commands while jailed ? - by HazardouS - 09.02.2015, 15:38
Re: How can i make player not use commands while jailed ? - by M4D - 09.02.2015, 15:39
Re: How can i make player not use commands while jailed ? - by Glossy42O - 09.02.2015, 19:49
Re: How can i make player not use commands while jailed ? - by Sascha - 09.02.2015, 20:06

Forum Jump:


Users browsing this thread: 1 Guest(s)