SendMessageToPlayer
#8

The above won't work.
Loop through every ID and at each loop check if the player is actually a bodyguard before sending the message.

pawn Код:
for(new b=0; b<MAX_PLAYERS; b++)
{
  if(Body_Guard[b] != 0) SendMessageToPlayer(Body_Guard[b]. senderid, "I need a bodyguard!");
}
Reply


Messages In This Thread
SendMessageToPlayer - by misho1 - 06.12.2011, 22:15
Re: SendMessageToPlayer - by JamesC - 06.12.2011, 22:22
Re: SendMessageToPlayer - by misho1 - 06.12.2011, 22:24
Re: SendMessageToPlayer - by JamesC - 06.12.2011, 22:29
Re: SendMessageToPlayer - by jamesbond007 - 06.12.2011, 22:33
Re: SendMessageToPlayer - by misho1 - 07.12.2011, 18:22
Re: SendMessageToPlayer - by [ABK]Antonio - 08.12.2011, 05:25
Re: SendMessageToPlayer - by Rob_Maate - 08.12.2011, 07:46
Re: SendMessageToPlayer - by misho1 - 08.12.2011, 11:55
Re: SendMessageToPlayer - by [ABK]Antonio - 08.12.2011, 12:17

Forum Jump:


Users browsing this thread: 2 Guest(s)