Quote:
Originally Posted by I am inevitable
PHP Code:
void RefreshClientWeapons(int iClient)
{
for (int i = 4; i < 4; i++)
{
int iWeapon_Entity_Index = GetPlayerWeaponSlot(iClient, i);
if (iWeapon_Entity_Index != -1)
{
RemovePlayerItem(iClient, iWeapon_Entity_Index);
AcceptEntityInput(iWeapon_Entity_Index, "Kill");
char sWeapon_Classname[32];
GetEntityClassname(iWeapon_Entity_Index, sWeapon_Classname, sizeof(sWeapon_Classname));
GivePlayerItem(iClient, sWeapon_Classname);
}
}
}
|
sorry i posted this on the wrong thread i tried removeing the reply without success till now, sorry again...