18.07.2012, 03:58
Your code is missing lots of variables.
Edit: And, what are you trying to do exactly and what the errors you are getting?
pawn Code:
public OnPlayerDisconnect(playerid, reason)
{
new Float:x;
new Float:y;
new Float:z;
GetPlayerPos(playerid,x,y,z);
skin = GetPlayerSkin(playerid);
//WHERE skin, positionx, positiony, positionz is defined!? Also for the rest of the code,
positionx = x;
positiony = y;
positionz = z;
// ...
}