SA-MP Forums Archive
Please 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help.... (/showthread.php?tid=150878)



Please help.... - candyboy - 28.05.2010

Hi,
I need someones help to fix this error please help me to fix this error


Quote:

C:\Documents and Settings\User\Desktop\sa-mp\PGP 0.2x\filterscripts\pgp.pwn(186) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\User\Desktop\sa-mp\PGP 0.2x\filterscripts\pgp.pwn(186) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\sa-mp\PGP 0.2x\filterscripts\pgp.pwn(186) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\User\Desktop\sa-mp\PGP 0.2x\filterscripts\pgp.pwn(186) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\sa-mp\PGP 0.2x\filterscripts\pgp.pwn(186) : fatal error 107: too many error messages on one line

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


4 Errors.


Regardz
candyboy



Re: Please help.... - MadeMan - 28.05.2010

Can you show the line?


Re: Please help.... - candyboy - 28.05.2010

what line ?


Re: Please help.... - Jonni8 - 28.05.2010

Please post your Code.




Re: Please help.... - candyboy - 28.05.2010

Its GM and exceed maximum of length when i tried to post!!


Re: Please help.... - Jonni8 - 28.05.2010

then post line 180 to 190


Re: Please help.... - candyboy - 28.05.2010

Quote:

//------------------------------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,COLOR_YELLOW,"SERVER: Welcome To Pro Gamers Playground - Season 1, For help type /help ");
gActivePlayers[playerid]++;
gLastGaveCash[playerid] = GetTickCount();
PlayerInfo[playerid][SpawnDance] = true;
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1 ,0,0,0,-1); //preventing a bug for the animation not being applied the first time OnPlayerRequestClass is called
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDisconnect(playerid, reason)
{
KillTimer( PlayerInfo[playerid][SpawnTimer] );
gActivePlayers[playerid]--;
return 1;
}
//------------------------------------------------------------------------------------------------------




Re: Please help.... - Jonni8 - 28.05.2010

Now please post your PlayerInfo Array