12.06.2010, 19:06
Use THIS include and put it inside
Here is an example
pawn Код:
OnPlayerWeaponChange(playerid, newweapon, oldweapon)
pawn Код:
OnPlayerWeaponChange(playerid, newweapon, oldweapon)
{
new gunname[25];
new string[128];
GetWeaponName(newweapon, gunname);//Make it yourself
format(string, sizeof(string), "* %s takes his bag of his back and takes out a %s.", GetPlayerName(playerid), gunname);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}