Send Message to Only Family Member??
#3

Quote:
Originally Posted by Kindred
Посмотреть сообщение
You should make a timer that would loop through every player, and then check if the player's family variable is a certain value.

Lets say the family variable is set to the family id, and the family id cannot be 0, you could do this:

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(pInfo[i][Family] >= 1)
    {
        //Show points here
    }
}
Thanks, thats a great idea. I'll try it.
Reply


Messages In This Thread
Send Message to Only Family Member?? - by ArmandoRamiraz - 22.07.2012, 10:27
Re: Send Message to Only Family Member?? - by Kindred - 22.07.2012, 10:30
Re: Send Message to Only Family Member?? - by ArmandoRamiraz - 22.07.2012, 10:36
Re: Send Message to Only Family Member?? - by ArmandoRamiraz - 22.07.2012, 21:46
Re: Send Message to Only Family Member?? - by ReneG - 22.07.2012, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)