SA-MP Forums Archive
How to fix these errors? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to fix these errors? (/showthread.php?tid=494753)



How to fix these errors? - KaliKs - 14.02.2014

hey guys i need help fixing these errors Thanks

errors:
Код:
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(152) : error 001: expected token: "-identifier-", but found "="
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(153) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(153) : warning 215: expression has no effect
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(153) : warning 215: expression has no effect
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(153) : error 001: expected token: ";", but found ")"
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(153) : error 029: invalid expression, assumed zero
C:\Users\Erik\Desktop\NS Gaming RP\gamemodes\NSRP.pwn(153) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Lines:
Код:
        new INI:PFile = INI_Open(file);
    INI_WriteFloat(PFile, "Pos_X", x);//153
    INI_WriteFloat(PFile, "Pos_Y", y);
    INI_WriteFloat(PFile, "Pos_Z", z);
    INI_WriteFloat(PFile, "Pos_Angle", a);
    INI_WriteInt(PFile, "Skin", GetPlayerSkin(playerid));
    INI_Close(PFile);