C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(466) : error 017: undefined symbol "cache_get_value_name_int"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(467) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(468) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(469) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(470) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(467) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(468) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(469) : error 017: undefined symbol "cache_get_value_name_float"
C:\Users\Ahmed\Desktop\New folder\pawno\xRobbery.pwn(470) : error 017: undefined symbol "cache_get_value_name_float"
Code:
forward LoadxSafes();
public LoadxSafes()
{
new rows = cache_num_rows();
new id, loaded;
if(rows)
{
while(loaded < rows)
{
cache_get_value_name_int(loaded, "ID", id);
cache_get_value_name_float(loaded, "X", xSafe[id][safe_Pos][0]);
cache_get_value_name_float(loaded, "Y", xSafe[id][safe_Pos][1]);
cache_get_value_name_float(loaded, "Z", xSafe[id][safe_Pos][2]);
cache_get_value_name_float(loaded, "A", xSafe[id][safe_Pos][3]);
xSafe[id][safe_Obj] = CreateObject(2332, xSafe[id][safe_Pos][0], xSafe[id][safe_Pos][1], xSafe[id][safe_Pos][2], 0.0, 0.0, xSafe[id][safe_Pos][3]);
Iter_Add(xSafes, id);
loaded++;
}
}
printf("[xRobbery] %d kasa yuklendi.", loaded);
return 1;
}