Funny, I just now wasted a good 45 minutes thinking I was networking a CNetworkVar float wrong because I was printing it with ("%f",floatvar) instead of floatvar.m_Value... the float was transmitting properly the entire time while I re-wrote the code a few times. :p
On Sat, Oct 5, 2013 at 2:05 PM, Kitten Fiddlers <dethk...@gmail.com> wrote: > Sheesh. I feel like an idiot. > > To find out the value, I used a sprintf and %i thinking it was an int. It > isn't. > > So I kept seeing different numbers because it isn't an int. I switched it > over to a %d and it works perfectly. > > Thanks for replying, though, it made me re-read what I was doing wrong! > > Again, idiot signing off! > > > On Sat, Oct 5, 2013 at 12:34 PM, Asher Baker <asher...@gmail.com> wrote: > >> AMX Mod X uses GETPLAYERAUTHID[1], so your issues are probably elsewhere. >> >> [1]: >> http://mxr.alliedmods.net/amxmodx-central/source/amxmodx/amxmodx.cpp#779 >> >> >> On Sat, Oct 5, 2013 at 5:14 PM, Kitten Fiddlers <dethk...@gmail.com>wrote: >> >>> Where would I start to get a steam ID on Half-life? >>> >>> I tried GETPLAYERAUTHID but it the number is random, I tried getting the >>> WON ID but it returns -1 and I tried GETPLAYERUSERID but it returns 1. >>> >>> Any ideas? Sorry if this isn't the right place to ask! >>> >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >>> >>> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders