Problem woth compilation <---- - 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: Problem woth compilation <---- (
/showthread.php?tid=644079)
Problem woth compilation <---- -
kAn3 - 03.11.2017
PHP код:
#include a_samp
#include foreach
#include sscanf2
OnPlayerConnect(playerid)
{
return 1;
}
PHP код:
C:\Users\Re\Downloads\Server_SAMP\sv\gamemodes\newtdm.p(56) : warning 203: symbol is never used: "SSCANF_OnPlayerConnect"
Re: Problem woth compilation <---- -
Escobabe - 03.11.2017
PHP код:
#include <a_samp>
#include <sscanf2>
...
Re: Problem woth compilation <---- -
bugmenotlol - 03.11.2017
Try #include sscanf
Or
Код:
#include <a_samp>
#include <sscanf2>
Then Compile
Re: Problem woth compilation <---- -
Gammix - 03.11.2017
You forgot to add "pulbic" in front of "OnPlayerConnect":
PHP код:
public OnPlayerConnect(playerid) {
}
Re: Problem woth compilation <---- -
kAn3 - 04.11.2017
Damn!