Saving Position Using Y_INI
#1

Can Anyone Just Lend Me a Code?? I Need A Saving Position System Using Y_INI
Reply
#2

pawn Code:
new Float:x, Float:y, FLoat:z;
GetPlayerPos( x y, z );
INI_SetTag(File, "TAG");
INI_WriteFloat(File,"x", Float:x);
INI_WriteFloat(File,"y", Float:y);
INI_WriteFloat(File,"z", Float:z);
EDIT: I'm a n00b sorry xD

Edit im not a n00b force of habit been doing that for the past 20 mins
Reply
#3

Quote:
Originally Posted by IceCube!
View Post
pawn Code:
new Float:x, Float:y, FLoat:z;
GetPlayerPos( x y, z);
INI_SetTag(File, "TAG");
INI_WriteInt(File,"x", Float:x);
INI_WriteInt(File,"y", Float:y);
INI_WriteInt(File,"z", Float:z);
Just snippets as I made it here
It's float, not integer.
Reply
#4

well, can you compile it and tell me? cuz i made it something like this, compiled and found warnings. I Don't Got Pawno In This PC D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)