Helping
#1

Warning On Line 69414:Number Of arguments not match definitions
PHP код:
if(IsPlayerInArea(playerid,LandInfo[i][landZone],Float:landMinX,Float:landMinY,Float:landMaxX,Float:landMaxY))//69414 
Reply
#2

Number Of arguments not match definitions

Just count
Reply
#3

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
Number Of arguments not match definitions

Just count
What?
Reply
#4

IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY)
{
new Float:X, Float:Y, Float:Z;

GetPlayerPos(playerid, X, Y, Z);
if(X >= MinX && X <= MaxX && Y >= MinY && Y <= MaxY) {
return 1;
}
return 0;
}


You have like this ??
Reply
#5

you can also use this !
if (IsPlayerInRangeOfPoint(playerid, range, X, Y, Z))
Reply
#6

The problem here is that you don't understand how functions work. I'm usually more than glad to post an extended explanation about different concepts of programming, but functions is such a big topic. You should read a book about them or at least a tutorial on the forum.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)