Introduction:
This is a simple plugin which gives the ability to use c++ vectors in pawn.
What vectors are?
They are kind of arrys which can save huge amount of data. if you've worked before with c# or php they are just like c# Lists or php arrays.
Functions list:
sample of storing and loading float values:
https://pastebin.com/CePNKeQx
Download: https://github.com/Jlalt/CPPVectors/releases/tag/1.0
Source: https://github.com/Jlalt/CPPVectors
Credits:
Kurta for his c++ tutorials
X337 for his helps on building linux version
me for programming D:
This is a simple plugin which gives the ability to use c++ vectors in pawn.
What vectors are?
They are kind of arrys which can save huge amount of data. if you've worked before with c# or php they are just like c# Lists or php arrays.
Functions list:
Code:
native SetMaxVector(const kind, const value);
native Vector_Push(const kind, const vectorid, const value[] = "", Float:v2 = 0.0);
native Vector_GetValue(const kind, const vectorid, const itemid, const str_source[] = "", const len = sizeof str_source);
native Vector_GetSize(const kind, const vectorid);
native Vector_GetItemLen(const kind, const vectorid, const itemid);
native Vector_ItemErase(const kind, const vectorid, const itemid);
native Vector_SetItemValue(const kind, const vectorid, const itemid, const data[] = "", Float:v2 = 0.0);
native Vector_AppendItemValue(const kind, const vectorid, const itemid, const data[] = "", Float:v2 = 0.0);
native Vector_Clear(const kind, const vectorid);
native Vector_GetFreeVector(const kind);
https://pastebin.com/CePNKeQx
Download: https://github.com/Jlalt/CPPVectors/releases/tag/1.0
Source: https://github.com/Jlalt/CPPVectors
Credits:
Kurta for his c++ tutorials
X337 for his helps on building linux version
me for programming D: