IsPlayerInRangeOfPoint help
#1

Hi,

Im trying to write a bit of code that every time a player goes through an info checkpoint they get a textdraw shown on their screen. Its not working but compiles properly. Any ideas?

PHP код:
forward PlayerInfoRange(playerid);
public 
PlayerInfoRange(playerid)
{
    for(new 
id 0id sizeof(factionInfo); id++)
    if(
factionInfo[id][fID] >= 1)
    {
        if(!
IsPlayerInRangeOfPoint(playerid,3factionInfo[id][facX], factionInfo[id][facY],factionInfo[id][facZ]))
        {
            
TextDrawShowForPlayer(playeridEMPTYINFOBOX);
            
TextDrawShowForPlayer(playeridPROPNAME);
            
TextDrawShowForPlayer(playeridSTRINGNAME);
            
TextDrawShowForPlayer(playeridPROPADD);
            
TextDrawShowForPlayer(playeridPROPOWNER);
            
TextDrawShowForPlayer(playeridSTRINGNAME);
            
TextDrawShowForPlayer(playeridSTRINGPROP);
            
TextDrawShowForPlayer(playeridSTRINGOWNER);
            
TextDrawShowForPlayer(playeridPROPINFO);
            
TextDrawShowForPlayer(playeridTEXTBOT);
        }
    }
    return 
1;

Reply


Messages In This Thread
IsPlayerInRangeOfPoint help - by yllo - 23.08.2018, 23:08
Re: IsPlayerInRangeOfPoint help - by GaMiX - 23.08.2018, 23:23
Re: IsPlayerInRangeOfPoint help - by solstice_ - 23.08.2018, 23:26
Re: IsPlayerInRangeOfPoint help - by Shinja - 24.08.2018, 01:37
Re: IsPlayerInRangeOfPoint help - by yllo - 24.08.2018, 10:37
Re: IsPlayerInRangeOfPoint help - by Shinja - 24.08.2018, 14:01
Re: IsPlayerInRangeOfPoint help - by GaMiX - 24.08.2018, 17:55
Re: IsPlayerInRangeOfPoint help - by yllo - 24.08.2018, 18:00
Re: IsPlayerInRangeOfPoint help - by DaniceMcHarley - 24.08.2018, 18:05
Re: IsPlayerInRangeOfPoint help - by Rufio - 27.08.2018, 12:46

Forum Jump:


Users browsing this thread: 1 Guest(s)