what is wrong in this function
#1

Hi guys,
I am getting an error on creating a anti-spam system
link:https://sampforum.blast.hk/showthread.php?tid=301568 (in case you might need it)
Errors
Код:
C:\Users\gouth_000\Desktop\Server SAMP\filterscripts\GAdmin1.0.pwn(92) : error 055: start of function body without function header
C:\Users\gouth_000\Desktop\Server SAMP\filterscripts\GAdmin1.0.pwn(97) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Lines

PHP код:
forward AutoUnMute(pID);
public 
AutoUnMute(pID);
{
    
muted[pID] = 0;
    
SpamCount[pID]=0;
    
SendClientMessage(pIDCOL1_RED"You are unmuted now");
    
GameTextForPlayer(pID"~g~ Unmuted!"50005);
    return 
1;

Reply
#2

PHP код:
public AutoUnMute(pID); 
to

PHP код:
public AutoUnMute(pID
Reply
#3

public AutoUnMute(pID); ----> public AutoUnMute(pID)
Reply
#4

Thanks both , +Rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)