[Include] Vector implementation in PAWN
#16

Sorry for bothering you, but I have another question.
Код:
enum PlayerEnum
{
	id,
	Float:health,
	Float:armour
}

new Vector:PlayerVector[PlayerEnum];

VECTOR_push_back_val(PlayerVector[id], 0);
VECTOR_push_back_val(PlayerVector[health], 0.0);
VECTOR_push_back_val(PlayerVector[armour], 0.0);
Код:
warning 213: tag mismatch: expected tag "Vector", but found none ("_")

warning 213: tag mismatch: expected tag "Vector", but found "Float"
warning 213: tag mismatch: expected tag none ("_"), but found "Float"

warning 213: tag mismatch: expected tag "Vector", but found "Float"
warning 213: tag mismatch: expected tag none ("_"), but found "Float"
Is this the correct way to fix this?
Код:
enum PlayerEnum
{
	id,
	Float:health,
	Float:armour
}

new Vector:PlayerVector[PlayerEnum];

VECTOR_push_back_val(Vector:PlayerVector[id], 0);
VECTOR_push_back_val(Vector:PlayerVector[health], _:0.0);
VECTOR_push_back_val(Vector:PlayerVector[armour], _:0.0);
Reply


Messages In This Thread
Vector implementation in PAWN - by BigETI - 16.07.2018, 20:06
Re: Vector implementation in PAWN - by TroS - 16.07.2018, 20:11
Re: Vector implementation in PAWN - by BigETI - 19.07.2018, 07:12
Re: Vector implementation in PAWN - by TommyB - 19.07.2018, 07:23
Re: Vector implementation in PAWN - by BigETI - 19.07.2018, 07:29
Re: Vector implementation in PAWN - by iLearner - 19.07.2018, 07:30
Re: Vector implementation in PAWN - by CodeStyle175 - 19.07.2018, 08:40
Re: Vector implementation in PAWN - by GhostHacker9 - 19.07.2018, 09:03
Re: Vector implementation in PAWN - by Calisthenics - 12.10.2018, 09:36
Re: Vector implementation in PAWN - by 2Col - 27.10.2018, 12:10
Re: Vector implementation in PAWN - by BigETI - 27.10.2018, 12:13
Re: Vector implementation in PAWN - by 2Col - 27.10.2018, 14:00
Re: Vector implementation in PAWN - by BigETI - 27.10.2018, 15:37
Re: Vector implementation in PAWN - by 2Col - 27.10.2018, 16:30
Re: Vector implementation in PAWN - by d3Pedro - 27.10.2018, 23:09
Re: Vector implementation in PAWN - by 2Col - 11.11.2018, 08:15
Re: Vector implementation in PAWN - by BigETI - 11.11.2018, 21:30
Re: Vector implementation in PAWN - by 2Col - 12.11.2018, 09:18
Re: Vector implementation in PAWN - by BigETI - 12.11.2018, 10:04
Re: Vector implementation in PAWN - by 2Col - 12.11.2018, 10:52
Re: Vector implementation in PAWN - by BigETI - 12.11.2018, 13:22

Forum Jump:


Users browsing this thread: 4 Guest(s)