22.11.2012, 19:08
Ok, I'm trying to learn how to use the sa-mp file functions. Ive gotten stuck on reading the file and assigning the correct ammount of score etc like any loading system would do.
I went on the wiki and came across this:
I dont understand it and this is what they use to load the stats out of the file, could someone please explain it to me?
I went on the wiki and came across this:
pawn Код:
GetVal(numb, str[]) {
new tmp[256], idx;
for(new i=0; i<numb; i++) {
tmp=strtok(str, idx);
}
return strval(tmp);
}