IsPlayerInRangeOfPoint & CreateDynamicPickup Error
#1

The CreateDynamicPickup line:

Код:
CreateDynamicPickup( 1273, 1, hInfo[ i ][ hOutsideX ], hInfo[ i ][ hOutsideY ], hInfo[ i ][ hOutsideZ ], -1, -1, -1, 100.0);
The error:

Код:
tag mismatch
The IsPlayerInRangeOfPoint line:

Код:
IsPlayerInRangeOfPoint( i, 1.5, hInfo[ j ][ hOutsideX ], hInfo[ j ][ hOutsideY ], hInfo[ j ][ hOutsideZ ])
The error:

Код:
tag mismatch
* The i is from a loop and the coordonaties are from the next array & enum :

Код:
#define MAX_HOUSES 200
enum hData
{
	hID,
	hOwned,
	hOwner  [ 21 ],
	hLocked,
	float:hOutsideX,
	float:hOutsideY,
	float:hOutsideZ,
	float:hInsideX,
	float:hInsideY,
	float:hInsideZ,
	hInterior,
	hVirtual,
	hPrice
}
new
	hInfo[ MAX_HOUSES ][ hData ];
Reply
#2

Replace
pawn Код:
enum hData
{
    hID,
    hOwned,
    hOwner  [ 21 ],
    hLocked,
    float:hOutsideX,
    float:hOutsideY,
    float:hOutsideZ,
    float:hInsideX,
    float:hInsideY,
    float:hInsideZ,
    hInterior,
    hVirtual,
    hPrice
}
With
pawn Код:
enum hData
{
    hID,
    hOwned,
    hOwner  [ 21 ],
    hLocked,
    Float:hOutsideX,
    Float:hOutsideY,
    Float:hOutsideZ,
    Float:hInsideX,
    Float:hInsideY,
    Float:hInsideZ,
    hInterior,
    hVirtual,
    hPrice
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)