SA-MP Forums Archive
Need Little Help.. - 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: Need Little Help.. (/showthread.php?tid=398973)



Need Little Help.. - Ryan_Redfield - 12.12.2012

I'm having some problem when I'm compiling
here the errors:
Код:
E:\Gta-sa\Gta-sa\scripting\Testing script\\Next Evolution Roleplay\gamemodes\NE-RP.pwn(1285) : error 017: undefined symbol "PlayerInfo"
E:\Gta-sa\Gta-sa\scripting\Testing script\\Next Evolution Roleplay\gamemodes\NE-RP.pwn(1290) : error 017: undefined symbol "Event"
E:\Gta-sa\Gta-sa\scripting\Testing script\\Next Evolution Roleplay\gamemodes\NE-RP.pwn(1290) : warning 215: expression has no effect
E:\Gta-sa\Gta-sa\scripting\Testing script\\Next Evolution Roleplay\gamemodes\NE-RP.pwn(1290) : error 001: expected token: ";", but found "]"
E:\Gta-sa\Gta-sa\scripting\Testing script\\Next Evolution Roleplay\gamemodes\NE-RP.pwn(1290) : error 029: invalid expression, assumed zero
E:\Gta-sa\Gta-sa\scripting\Testing script\\Next Evolution Roleplay\gamemodes\NE-RP.pwn(1290) : fatal error 107: too many error messages on one line
and here those lines:

Код:
stock SaveChar(playerid)
{
    if(PlayerInfo[playerid][pTutorial])
	    {
		    new file[64];
			format(file, sizeof(file), "users/%s.ini", RPNU(playerid));
			if(!dini_Exists(file)) dini_Create(file);
			if(!Event[playerid])
			{
				PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid);
				PlayerInfo[playerid][pVW] = GetPlayerVirtualWorld(playerid);
				GetPlayerPos(playerid, PlayerInfo[playerid][pX], PlayerInfo[playerid][pY], PlayerInfo[playerid][pZ]);
				GetPlayerHealth(playerid, PlayerInfo[playerid][pHealth]);
				GetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
			}
Please help me.