08.12.2011, 07:46
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.
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!");
}