22.06.2010, 19:11
Hello, i want to save the position of the player on Disconnect
but i'm stuck now, everything what i do it's not working, i know
it's simple but i can't find it.. I have this script under OnPlayerDisconnect
But i get this 3 errors :
Where should i else replace with??
or where sould i put the script in?
but i'm stuck now, everything what i do it's not working, i know
it's simple but i can't find it.. I have this script under OnPlayerDisconnect
Quote:
if(IsLogged[playerid] == 1) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid,X,Y,Z); dini_FloatSet(file, "PosX", X); dini_FloatSet(file, "PosY", Y); dini_FloatSet(file, "PosZ", Z); IsLogged[playerid] = 0; } |
Quote:
undefined symbol "file" undefined symbol "file" undefined symbol "file" |
or where sould i put the script in?