View Single Post
Old 29/05/2020, 10:16 PM   #5
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 691
Reputation: 63
Default Re: Y_INI Storing not storing float in OnGameModeInit

Store coords as string and try.
See this example:
pawn Code:
INI_Write(AD_FILE, "CP_XYZ", "1267.2631,-1265.8411,13.3806");

//get coords from string with sscanf
new dest[64], Float:x, Float:y, Float:z;
INI_Get(AD_FILE, "CP_XYZ", dest);
sscanf(dest, "p<,>fff", x, y, z);
xRadical3 is online now   Reply With Quote