07.06.2014, 15:03
Can I ask someone to toss the plugin project using the current sampgdk?
It's about a basic plugin
It's about a basic plugin
|
The idea was that I could not find a download for windows.
Another question that can be added in sampgdk native? |

int SendCheatCall(int playerid, int cheat){
int idx;
int amxIndex = 0;
if (!amx_FindPublic(AimAmx, "OnPlayerCheatDetect", &amxIndex))
{
amx_Push(AimAmx, static_cast<cell>(cheat));
amx_Push(AimAmx, static_cast<cell>(playerid));
amx_Exec(AimAmx, NULL, amxIndex);
}
return 1;
}

GPP = g++ GCC = gcc forfun_OUTFILE = "4fun.so" COMPILE_FLAGS = -std=c++0x -m32 -fPIC -c -I sampgdk-3.7-Linux/include/sampgdk/ -I /sampgdk-3.7-Linux/lib -w -D LINUX -D PROJECT_NAME=\"4Fun\" forfun = -D forfun $(COMPILE_FLAGS) all: forfun clean: -rm -f *~ *.o *.so forfun: clean $(GPP) $(forfun) *.cpp $(GPP) -lsampgdk -m32 -fshort-wchar -shared -o $(forfun_OUTFILE) *.o