error 076: syntax error in the expression, or invalid function call
#1

help how to fix this

PHP код:
    IsPlayerMacroing{playerid} = (IsPlayerInRangeOfPoint(playerid,Range,SAFKTFloat[playerid][0],SAFKTFloat[playerid][1] = SAFKTFloats[1],SAFKTFloat[playerid][2] = SAFKTFloats[2])) ? true false
Reply
#2

Make a proper and normal IsPlayerInRangeOfPoint() check, dont use functions or features, you have no idea how they works.
pawn Код:
stock IsPlayerMacroing(playerid)
{
      if(IsPlayerInRangeOfPoint(playerid,Range,SAFKTFloat[playerid][0],SAFKTFloats[1],SAFKTFloats[2]))
     {
            return 1;
     }
    return 0;
}
Reply
#3

and what about the
PHP код:
true false 
Reply
#4

you dont need it, just use

if(IsPlayerMacroing(playerid))
{
SendClientMessage(playerid,-1,"You are Macroing, what ever it means");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)