error 029: invalid expression, assumed zero
#1

Thread Now closed
Thanks for the people below who helped me fix it.
I guess i must have just been tired and not noticing what i did there.
Reply
#2

pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 10.0, -2450.6028, 161.1246, 35.1210) || !IsPlayerInRangeOfPoint(playerid, 4.0, 2958.0425, -1393.6724, 5.5500)) || !IsPlayerInRangeOfPoint(playerid, 4.0, 1509.5452,-1690.5376,13.2922,271.6911))
        return SendClientMessage(playerid, COLOR_GREY, "You are not at the point.");
Reply
#3

pawn Код:
if(!IsPlayerInRangeOfPoint(playerid, 10.0, -2450.6028, 161.1246, 35.1210) || !IsPlayerInRangeOfPoint(playerid, 4.0, 2958.0425, -1393.6724, 5.5500) || !IsPlayerInRangeOfPoint(playerid, 4.0, 1509.5452,-1690.5376,13.2922,271.6911))
        return SendClientMessage(playerid, COLOR_GREY, "You are not at the point.");
You got an extra ")" and a ";" at the end of the "if", try now...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)