14.10.2009, 14:22
Hey, I'm back again..
SA-MP scripting is like a drug
I'm tryin' to save the player pos on logout so OnPlayerDisconnect I have a "SavePlayerStats".
Offcourse..
and here's the problem I have:
When I compile I get "Tag Mismatch" on the last three lines...
Can someone tell me whats wrong please ?
Don't You dare tell me to search I know how to do and I couldn't find anything
SA-MP scripting is like a drug
I'm tryin' to save the player pos on logout so OnPlayerDisconnect I have a "SavePlayerStats".
Offcourse..
and here's the problem I have:
pawn Код:
public SavePlayerStats(playerid)
{
GetPlayerPos(playerid, PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ]);
dUserSetINT(PlayerName(playerid)).("x", PlayerInfo[playerid][pPosX]);
dUserSetINT(PlayerName(playerid)).("y", PlayerInfo[playerid][pPosY]);
dUserSetINT(PlayerName(playerid)).("z", PlayerInfo[playerid][pPosZ]);
return 1;
}
Can someone tell me whats wrong please ?
Don't You dare tell me to search I know how to do and I couldn't find anything