Skip to content

VECTOR_set_str

BigETI edited this page Jul 16, 2018 · 1 revision

Description

Set a string at the specified index inside the vector

Syntax

VECTOR_set_str(Vector:vector, index, const value[])

Example

new Vector:vector;
VECTOR_resize(vector, 3);
VECTOR_set_str(vector, 0, "abc");
VECTOR_set_str(vector, 1, "def");
VECTOR_set_str(vector, 2, "ghi");

Clone this wiki locally