SA-MP Forums Archive
i haveproblem with Gm LoF - 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: i haveproblem with Gm LoF (/showthread.php?tid=395862)



i haveproblem with Gm LoF - ejul - 28.11.2012

guys can you tell what is the problem??

i got this error
Код:
C:\Users\hp\Downloads\Compressed\Server\gamemodes\LoF.pwn(6375) : warning 213: tag mismatch
C:\Users\hp\Downloads\Compressed\Server\gamemodes\LoF.pwn(6414) : error 029: invalid expression, assumed zero
C:\Users\hp\Downloads\Compressed\Server\gamemodes\LoF.pwn(6414) : warning 215: expression has no effect
C:\Users\hp\Downloads\Compressed\Server\gamemodes\LoF.pwn(6414) : error 001: expected token: ";", but found ")"
C:\Users\hp\Downloads\Compressed\Server\gamemodes\LoF.pwn(6414) : error 029: invalid expression, assumed zero
C:\Users\hp\Downloads\Compressed\Server\gamemodes\LoF.pwn(6414) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
in this line
Код:
if(JustRegistered(playerid) == 0)
		{
			new login[156];
			format(login, sizeof(login), "{1B8AE4}%s (%d) {FFFFFF}has logged into the server.", PlayerName(playerid), playerid);
			for(new i = 0; i <MAX_PLAYERS; i++)
			{
				if(IsPlayerConnected(i))
				{
		    		if(PInfo[i][sConnectionMessages] == 0)
		    		{
						SendClientMessage(i, COLOR_YELLOW, login);
					}
				}
			}
		}
please help..
i will +rep you...


Re: i haveproblem with Gm LoF - ejul - 28.11.2012

hello///someone please...
help..
--sory bumb---


Re: i haveproblem with Gm LoF - ReVo_ - 28.11.2012

JustRegistered(playerid) function right? or an array?

Maybe you miss a ";" not in this code, but before.


Re: i haveproblem with Gm LoF - ejul - 29.11.2012

idk...
can you fix it??
or tell me the problem..
so i can fix it


Re: i haveproblem with Gm LoF - GiamPy. - 29.11.2012

Show us the JustRegistered() function if it's a function.


Re: i haveproblem with Gm LoF - ejul - 29.11.2012

what you mean??


Re: i haveproblem with Gm LoF - blackbhuta - 29.11.2012

Код:
if(JustRegistered(playerid) == 0)
{
	new login[156];
	format(login, 156, "%s (%d) has logged into the server.", PlayerName(playerid), playerid);
	for(new i; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
		    	if(PInfo[i][sConnectionMessages] == 0) SendClientMessage(i, COLOR_YELLOW, login);		    	
		}



Re: i haveproblem with Gm LoF - ejul - 02.12.2012

still got
this error.
Quote:

C:\Users\hp\Downloads\Compressed\Server\gamemodes\ LoF.pwn(6375) : warning 213: tag mismatch
C:\Users\hp\Downloads\Compressed\Server\gamemodes\ LoF.pwn(6414) : error 029: invalid expression, assumed zero
C:\Users\hp\Downloads\Compressed\Server\gamemodes\ LoF.pwn(6414) : warning 215: expression has no effect
C:\Users\hp\Downloads\Compressed\Server\gamemodes\ LoF.pwn(6414) : error 001: expected token: ";", but found ")"
C:\Users\hp\Downloads\Compressed\Server\gamemodes\ LoF.pwn(6414) : error 029: invalid expression, assumed zero
C:\Users\hp\Downloads\Compressed\Server\gamemodes\ LoF.pwn(6414) : fatal error 107: too many error messages on one line

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