Help with disconnect Save Position
#5

Okay, now ive goten al little father but I got stuck again....

Код:
public OnPlayerDisconnect(playerid, reason)
{
	new pName[24], PlayerFile[50];
	new Float:PX, Float:PY, Float:PZ;
	
	GetPlayerName(playerid, pName, sizeof(pName));
	format(PlayerFile, sizeof(PlayerFile), "SFRP/users/%s.ini", pName);
	
	GetPlayerPos(playerid, PX, PY, PZ);
	
111	dini_FloatSet(PlayerFile, "PlayerX", PX;
112	dini_FloatSet(PlayerFile, "PlayerY", PY;
113	dini_FloatSet(PlayerFile, "PlayerZ", PZ;
	
	dini_IntSet(PlayerFile, "Spawn", 2);
	
	return 1;
}
And the errors are:

Код:
C:\Users\Administrator\Documents\SA-MP Server\gamemodes\SFRP.pwn(111) : error 001: expected token: ",", but found ";"
C:\Users\Administrator\Documents\SA-MP Server\gamemodes\SFRP.pwn(112) : error 001: expected token: ",", but found ";"
C:\Users\Administrator\Documents\SA-MP Server\gamemodes\SFRP.pwn(113) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply


Messages In This Thread
Help with disconnect Save Position - by Tyler_Idy - 13.06.2010, 19:05
Re: Help with disconnect Save Position - by DJDhan - 13.06.2010, 19:12
Re: Help with disconnect Save Position - by Tyler_Idy - 13.06.2010, 19:14
Re: Help with disconnect Save Position - by DJDhan - 13.06.2010, 19:20
Re: Help with disconnect Save Position - by Tyler_Idy - 13.06.2010, 19:36
Re: Help with disconnect Save Position - by DJDhan - 13.06.2010, 19:40
Re: Help with disconnect Save Position - by Tyler_Idy - 13.06.2010, 19:46
Re: Help with disconnect Save Position - by DJDhan - 13.06.2010, 19:47
Re: Help with disconnect Save Position - by Jefff - 13.06.2010, 20:05

Forum Jump:


Users browsing this thread: 1 Guest(s)