Data type question.. (and mac address question) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Data type question.. (and mac address question) (
/showthread.php?tid=184806)
Data type question.. (and mac address question) -
DarrenReeder - 21.10.2010
Hello, i am looking into the size of data types.. cant figure it out..
so, this is what i think i know
Code:
new var; // This is either 16 bits or 32 bits? (not sure tbh)
new arr[50]; // This is w/e the var size * 50 ??
So, if var is 32 bits.. Thats 4 bytes? Then arr[50] is 200Bytes?? and thats 4 bytes in each index?
*just need sumone to clear this up for me*
thanks
-----
Also, is there a way i can get someones router Max address? (want to ban it)
Re: Data type question.. (and mac address question) -
Mauzen - 21.10.2010
Yep, pawn variables are 4 byte, so the array would be 200 bytes
And no, you cant get any ip/mac information about a player except the normal, external internet address.
Re: Data type question.. (and mac address question) -
DarrenReeder - 21.10.2010
mhmm, is it possible to place files on someones samp directory? or anything that can be done to ban peopel effectivley.. (people on a router with a dynamic external IP address)..
and thanks!