Proxdetector error??
#4

add this stock
i think this will fix that

pawn Code:
stock ProxDetector(playerid, color, const message[], Float:Range)
{
new
Float:_Position[ 3], idx = 0
;
GetPlayerPos( playerid, _Position[0], _Position[1], _Position[2] );

while(idx++ < MAX_PLAYERS && IsPlayerConnected(idx))
{
if(GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(idx) && IsPlayerInRangeOfPoint(idx, Range, _Position[0], _Position[1], _Position[2]))
{
SendClientMessage(idx, color, message);
}
}
return true;
}
Reply


Messages In This Thread
Proxdetector error?? - by KaliKs - 08.03.2014, 09:31
Re: Proxdetector error?? - by Bingo - 08.03.2014, 09:32
Re: Proxdetector error?? - by KaliKs - 08.03.2014, 09:42
Re: Proxdetector error?? - by iThePunisher - 08.03.2014, 09:49
Re: Proxdetector error?? - by GrandParadise - 08.03.2014, 09:55
Re: Proxdetector error?? - by KaliKs - 08.03.2014, 15:03
Re: Proxdetector error?? - by KaliKs - 08.03.2014, 18:56
Re: Proxdetector error?? - by KaliKs - 08.03.2014, 18:58

Forum Jump:


Users browsing this thread: 4 Guest(s)