Originally Posted by hlstriker
I went ahead and updated the ForceChangeClass function in my example plugin above. Although I would still like to know which map was giving you that message in console.
Worked now, many thanks !
But, what about retaining the old player's position?
It seems that if i changed the vec origin it resets back to default.
Also, this crashes the server.
stock void FF_RemoveAllWeapons(int client)
for (int i = 0; i <= 5; i++)
weaponIndex = 0;
while ((weaponIndex = GetPlayerWeaponSlot(client, i)) != -1)