GameTextForPlayer Issue.
#1

pawn Code:
new playerid = MAX_PLAYERS;
    if(IsPlayerInRangeOfPoint(playerid, 5.0, 321.1703,308.9879,999.1484) && Faction[playerid] == 1)
    GameTextForPlayer(playerid, "~b~Police Health ~n~~w~ /health", 3000, 5);
This doesnt work the way it should, this is posted under OnGameModeInit.

If I post it under

CMD:health

it only displays when the command is executed, where do I place the GTFP so that it displays when the person is in the range of that point?
Reply


Messages In This Thread
GameTextForPlayer Issue. - by Dokins - 16.09.2011, 15:05
Re: GameTextForPlayer Issue. - by [MWR]Blood - 16.09.2011, 15:08
Re: GameTextForPlayer Issue. - by Sinner - 16.09.2011, 15:50
Re: GameTextForPlayer Issue. - by Dokins - 18.09.2011, 12:49

Forum Jump:


Users browsing this thread: 1 Guest(s)