Help Me Gamemode
#1

Can you help me..
i want to put this on my gm..
and i get this warning


Warning:
Код:
C:\Users\Acer\Desktop\SAMP\pawno\BCRv2.pwn(182) : warning 235: public function lacks forward declaration (symbol "OnIncomingConnection")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Code:
Код:
public OnIncomingConnection(playerid, ip_address[], port)
{
    printf("Incoming connection for player ID %i [IP/port: %s:%i]", playerid, ip_address, port);
    return 1;
}
Reply
#2

That's callback only for SA-MP 0.3z R2-2
Download newest a_samp include.

btw, you can fix that by adding this code
Код:
forward OnIncomingConnection(playerid, ip_address[], port)
But i think it's doesn't have effect.
Reply
#3

type this on top of gamemod
forward OnIncomingConnection(playerid, ip_address[], port);
Reply
#4

Ok Thank You..For Your Help..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)