just a small (array) question.
#1

how would i create an array using the value of another operator?

pawn Код:
new Position, Float:Distance[JoinCount];
ignore position
Reply
#2

What ?
Reply
#3

use constants or defines, nothing else possible

pawn Код:
const stock JoinCount = 5;
pawn Код:
#define JoinCount (5)
If you use definitions, the expression on the right side must be constant

Also you only can use constants!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)