[Help] yom_buttons.
#5

Do you use my script, or you want to reproduce how i did it?


If using my script, if i remember it will be something like this, in your gamemode:
pawn Code:
public OnPlayerPressButton(playerid, buttonid)
{
  if (buttonid == button_id_of_this_door)
  {
    if (Team[playerid] == TEAM_FBI)
      //open door

    else
      //send message "You aren't an agent of the FBI!"

    return true;
  }

  return false;
}
If you want to reproduce, look the script and copy what you want.. it's simple to understand.
Reply


Messages In This Thread
[Help] yom_buttons. - by vinewood - 27.04.2009, 09:28
Re: [Help] yom_buttons. - by MenaceX^ - 27.04.2009, 09:41
Re: [Help] yom_buttons. - by yom - 27.04.2009, 10:15
Re: [Help] yom_buttons. - by vinewood - 27.04.2009, 18:26
Re: [Help] yom_buttons. - by yom - 27.04.2009, 18:40
Re: [Help] yom_buttons. - by vinewood - 27.04.2009, 19:37
Re: [Help] yom_buttons. - by yom - 27.04.2009, 19:46
Re: [Help] yom_buttons. - by vinewood - 28.04.2009, 20:55

Forum Jump:


Users browsing this thread: 2 Guest(s)