17.03.2011, 22:41
under onplayerdisconnect i put
but i got some warning
with line
And when i reconnect my pos goes to 0
pawn Код:
new Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
dini_FloatSet(file, "PosX",Pos[0]);
dini_FloatSet(file, "PosY",Pos[1]);
dini_FloatSet(file, "PosZ",Pos[2]);
pawn Код:
D:\Users\Tanush\Desktop\SA-MP\gamemodes\Server.pwn(805) : warning 213: tag mismatch
D:\Users\Tanush\Desktop\SA-MP\gamemodes\Server.pwn(805) : warning 213: tag mismatch
D:\Users\Tanush\Desktop\SA-MP\gamemodes\Server.pwn(805) : warning 213: tag mismatch
pawn Код:
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
Код:
Adminlevel=4 Password=************* Money=100000 Score=0 PosX=0.000000 PosY=0.000000 PosZ=0.000000