18.11.2011, 23:01
Hey.. I'm trying to make that if you enter to a place so the name of the leader of the faction i'll decide will be mentioned...
this is part from my /enter command:
and ofc.. its not working cuz i'm doing something wrong..
this is part from my /enter command:
pawn Code:
else if (PlayerToPoint(2.0, playerid,2421.4934,-1219.2512,25.5613)) //
{
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1204.809936,-11.586799,1000.921875);
new leader = PlayerInfo[playerid][pLeader] = 1;
new tmp2[256];
format(tmp2, sizeof(tmp2), "~w~This place owned by:~g~ %s", leader);
GameTextForPlayer(playerid, tmp2, 5000, 1);
}