Leader name
#6

Well yea.. I want that if ANY PLAYER enter to area he gets the owner of the place.. which is faction leader..
btw.. i tried:

pawn Code:
else if (PlayerToPoint(2.0, playerid,2421.4934,-1219.2512,25.5613)) //
            {
                new leadername[36];
                for(new i=0;i<MAX_PLAYERS;i++)
                {
                    if(PlayerInfo[i][pLeader] == 1)
                    {
                        GetPlayerName(i, leadername, sizeof(leadername));
                    }
                    SetPlayerInterior(playerid,2);
                    SetPlayerPos(playerid,1204.809936,-11.586799,1000.921875);
                    new tmp2[256];
                    format(tmp2, sizeof(tmp2), "~w~This place owned by:~g~ %d", leadername);
                    GameTextForPlayer(playerid, tmp2, 5000, 1);
                }
            }
and still not working... when I enter its saying owner: 74
and i get no errors at all
Reply


Messages In This Thread
Leader name - by Qur - 18.11.2011, 23:01
Re: Leader name - by Luis- - 18.11.2011, 23:08
Re: Leader name - by Unte99 - 18.11.2011, 23:11
Re: Leader name - by Luis- - 18.11.2011, 23:12
Re: Leader name - by Unte99 - 18.11.2011, 23:28
Re: Leader name - by Qur - 19.11.2011, 07:30
Re: Leader name - by Jack_Leslie - 19.11.2011, 07:35
Re: Leader name - by Unte99 - 19.11.2011, 07:37
Re: Leader name - by Qur - 19.11.2011, 08:04

Forum Jump:


Users browsing this thread: 1 Guest(s)