12.12.2012, 10:40
I'm having some problem when I'm compiling
here the errors:
and here those lines:
Please help me.
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
Код:
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]); }