NEED A SCRIPT WHICH WILL DISABLE ALL COMMANDS, WHEN YOUR IN JAIL?
#4

Hi there,

To make that, you must return a true value when you're in jail, like that:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(IsInJail(playerid)) // Variable here.
    return 1;

  // Your commands here

  return 0;
}
Have fun scripting.

Kind regards,

Francis Morissette
SA-MP Scripter
http://sa-mp.com
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)