Help Me Gamemode - 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: Help Me Gamemode (
/showthread.php?tid=567856)
Help Me Gamemode -
sahrul012 - 17.03.2015
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;
}
Re: Help Me Gamemode -
X337 - 17.03.2015
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.
Re: Help Me Gamemode -
kinggta - 17.03.2015
type this on top of gamemod
forward OnIncomingConnection(playerid, ip_address[], port);
Re: Help Me Gamemode -
sahrul012 - 17.03.2015
Ok Thank You..For Your Help..