Get the weapon and ammo in a specific player's weapon slot (e.g. the weapon in the 'SMG' slot).
|playerid||The ID of the player whose weapon data to retrieve.|
|slot||The weapon slot to get data for (0-12).|
|&weapons||A variable in which to store the weapon ID, passed by reference.|
|&ammo||A variable in which to store the ammo, passed by reference.|
1: The function was executed successfully.
0: The function failed to execute. The player isn't connected and/or the weapon slot specified is invalid (valid is 0-12).
Old weapons with no ammo left are still returned.