Thread: [Tutorial] Plugin development guide
View Single Post
Old 16/03/2016, 07:28 AM   #165
Huge Clucker
codectile's Avatar
Join Date: Jul 2014
Posts: 259
Reputation: 116
Default Re: Plugin development guide

Here you go.

typedef cell(*AMX_NATIVE_CALL pfn_SetPlayerHealth)(AMX*, cell*);
cell AMX_NATIVE_CALL Test(AMX* amx, cell* params)
	pfn_SetPlayerHealth SetPlayerHealth_t = (pfn_SetPlayerHealth)0x47A6D0; //address of SetPlayerHealth native
	SetPlayerHealth_t(amx, params);
	return 1;
codectile is offline   Reply With Quote