I would like to know how to make...
#6

All you need is a few variables. I'll list them:
  1. One determining if the player owns a TV
  2. One determining if they are in their house
  3. One determining if someone is live on the air (used /news or /broadcast)
  4. One determining the player ID of the person using /news or /broadcast)
Now, create the command /watchtv. Check if these variables match what they need to, if they do, continue processing the command. Otherwise, don't process the command and return an error message or whatever.

Save the players position and then do something like:

pawn Код:
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, newsperson, SPECTATE_MODE_NORMAL);
Reply


Messages In This Thread
I would like to know how to make... - by Meinstad - 12.11.2011, 15:05
Respuesta: I would like to know how to make... - by Super_Panda - 12.11.2011, 15:19
Re: I would like to know how to make... - by whitedragon - 12.11.2011, 15:24
Re: Respuesta: I would like to know how to make... - by Kostas' - 12.11.2011, 15:26
Re: I would like to know how to make... - by Meinstad - 12.11.2011, 15:28
Re: I would like to know how to make... - by Scenario - 12.11.2011, 15:51
Re: I would like to know how to make... - by Meinstad - 12.11.2011, 17:26

Forum Jump:


Users browsing this thread: 1 Guest(s)