死磕ALS挂钩中
samp吧
全部回复
仅看楼主
level 11
-迷茫的梦-
楼主
看不懂这玩意想表达什么
有没有谁看懂了。。。
2018年06月27日 16点06分
1
level 13
vdm
挂钩回调的话可以试试y_hooks
直接
#include <a_samp>
public OnGameModeInit()
{
printf("gamemodeinit");
}
#include <YSI\y_hooks>
hook OnGameModeInit()
{
print("hook gamemodeinit");
}
2018年06月27日 16点06分
2
level 13
vdm
自己挂钩回调的话,我也没弄懂,搜了很多教程..
http://forum.sa-mp.com/showthread.php?t=392061
http://forum.sa-mp.com/showthread.php?t=574534
http://forum.sa-mp.com/showthread.php?t=540967
2018年06月27日 16点06分
3
-迷茫的梦-
als这玩意在下面靠宏已经覆盖了原始函数,然后原始函数里又调用了钩子,有的还先调用,再用calllocalfunction调用,懵了
2018年06月28日 02点06分
1