SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 21/10/2010, 08:10 PM   #1
DarrenReeder
Huge Clucker
 
DarrenReeder's Avatar
 
Join Date: Apr 2010
Posts: 489
Reputation: 14
Default Data type question.. (and mac address question)

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)
DarrenReeder is offline  
Old 21/10/2010, 08:17 PM   #2
Mauzen
High-roller
 
Mauzen's Avatar
 
Join Date: Jun 2007
Location: Western Germany
Posts: 4,878
Reputation: 1597
Default Re: Data type question.. (and mac address question)

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.
Mauzen is offline  
Old 21/10/2010, 08:20 PM   #3
DarrenReeder
Huge Clucker
 
DarrenReeder's Avatar
 
Join Date: Apr 2010
Posts: 489
Reputation: 14
Default Re: Data type question.. (and mac address question)

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!
DarrenReeder is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Question]Dialog Question eDz0r Help Archive 16 22/05/2010 03:03 PM
[Question] small question jonybomb Help Archive 10 06/04/2010 08:09 PM
Hello all i got one question (very easy to answer J.I.C question) SAMPfan109 General 0 06/03/2010 04:43 PM
[SOLVED] Enable Textdraw when type a command and disable when type the ...... RyDeR` Help Archive 2 11/08/2009 09:02 PM
question: damage type from CreateExplosion Independence Help Archive 1 07/08/2009 12:06 AM


All times are GMT. The time now is 07:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.