Hi can i use a boolean for restricted an origin for example this.
PHP Code:
new bool: used_or[32];
new bool: used_id[32];
public origin(id, ent) {
new Float: ors[3];
new loc = pev(ent, pev_origin, ors);
if (!used_id[id] && !used_or[loc]) {
console_print(0, "LOC ADDED!");
used_or[loc] = true;
used_id[id] = true;
}
else {
console_print(0, "LOC IS USED ALREADY");
}
}
with this way i can save different locs to dont use a user this origin again?