08.08.2010, 15:44
A small .INC, including 4 new publics for your GM, you can turn off, all the publics in the include.
Name: UPCB
Size: 4kb
Creater: SuB_ZeRo0_ (Me)
Download: http://www.megaupload.com/?d=1F1BJ16G
Public's:
OnPlayerHealthChange(playerid,Float:NewHealth,Floa t:OldHealth);
OnPlayerArmourChange(playerid,Float:NewArmour,Floa t:OldArmour);
OnPlayerPosChange(playerid,Float:NewX,Float:OldX,F loat:NewY,Float:OldY,Float:NewZ,Float:OldZ);
OnPlayerDrunkLevelChange(playerid,NewDrunkLevel,Ol dDrunkLevel);
What i do?
Put #include <UPCB> (In the top)
And the publics: (Like that)
__________________________________________________ ___________________________________
Any questions, ask me.
Please, don't remove the credits.
Sorry for my bad English.
Name: UPCB
Size: 4kb
Creater: SuB_ZeRo0_ (Me)
Download: http://www.megaupload.com/?d=1F1BJ16G
Public's:
OnPlayerHealthChange(playerid,Float:NewHealth,Floa t:OldHealth);
OnPlayerArmourChange(playerid,Float:NewArmour,Floa t:OldArmour);
OnPlayerPosChange(playerid,Float:NewX,Float:OldX,F loat:NewY,Float:OldY,Float:NewZ,Float:OldZ);
OnPlayerDrunkLevelChange(playerid,NewDrunkLevel,Ol dDrunkLevel);
What i do?
Put #include <UPCB> (In the top)
And the publics: (Like that)
pawn Code:
public OnPlayerHealthChange(playerid,Float:NewHealth,Float:OldHealth)
{
return 1;
}
Any questions, ask me.
Please, don't remove the credits.
Sorry for my bad English.