[HELP] Proxdetector doesn't work
#4

Then I guess you need to check if the player is in a interiour or not so hmm...
just try something like
pawn Код:
if(GetPlayerInterior(playerid) == 0)//0 is outside
{
    //then your OnPlayerText code
    GetPlayerName(playerid,sendername,sizeof(sendername));        
    format(string,sizeof(string),"%s Kaze: %s",sendername,text);      
    ProxDetectorElse(5.0,playerid,string,WHITE,COLOR_GRAY);
}
else
{
    //code if you are in a real interior since 0 is outside
}
Reply


Messages In This Thread
[HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 08:49
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 08:58
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 09:03
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 09:13
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 09:18
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 09:25
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 09:29
Re: [HELP] Proxdetector doesn't work - by Voxel - 07.01.2014, 09:48
Re: [HELP] Proxdetector doesn't work - by Luca12 - 07.01.2014, 10:29
Re: [HELP] Proxdetector doesn't work - by BlackSirrah239 - 07.01.2014, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)