CS:
Code:
return *((int *)pPlayer->pvPrivateData + OFFSET_CSDEATHS);
Regular:
Code:
return (cell)(pPlayer->ingame ? pPlayer->deaths : 0);
Basically regular get_user_deaths returns the player's variable named "deaths", while CS returns a private data offset. I'm guessing this means that CS doesn't use the traditional variable for storing a player's deaths, but I'm not sure why.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS