13.06.2010, 19:36
Okay, now ive goten al little father but I got stuck again....
And the errors are:
Код:
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; }
Код:
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.