Quote:
Originally Posted by BigETI
Some people still doesn't know how to hook functions/callbacks so you have to do
pawn Код:
public OnPlayerConnect(playerid) { D_OnPlayerConnect(playerid); //The rest of your code under this callback... }
public OnPlayerDisconnect(playerid, reason) { D_OnPlayerDisconnect(playerid); //The rest of your code under this callback... }
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { D_OnPlayerKeyStateChange(playerid, newkeys, oldkeys); //The rest of your code under this callback... }
|
The rest of what code under this callback is my problem, and do i have to put #include damage.inc and place the include into the pawno/includes folder? i'm confused, so what you posted, goes in a filterscript, that you create by putting the include (which to my knowledge adds more commands) into pawno/includes, creating the filterscript you posted, and then activating the filterscript, it should work?