[Pitanje]Varijabla

Započeo Obrisan korisnik
29. Sep. 2011. Zaključano
593
pregleda
3
postova
Deleted User
Obrisan korisnik
29. Sep. 2011.
Za sta sluzi u modu varijabla ?
FlasHica
5
Kingpin
29. Sep. 2011.
http://wiki.sa-mp.com/wiki/Scripting_Basics#Variables

A variable is basically a bit of memory, it's where data is stored and can be changed and read as required. Variables are one or more cells, a cell is 32 bits (4 bytes) big and by default signed so they can store from -2147483648 to 2147483647 (although -2147483648 is poorly defined in PAWN and gives odd results if displayed). A variable made from more than one cell is called an array, strings are a special type of array where each cell holds a character of the string (or 4 characters in packed strings, but they're not covered here).

new myVariable;
Deleted User
Obrisan korisnik
29. Sep. 2011.
Marijo B. - K4 wrote on September 29, 2011, 6:03 pm:
http://wiki.sa-mp.com/wiki/Scripting_Basics#Variables

A variable is basically a bit of memory, it's where data is stored and can be changed and read as required. Variables are one or more cells, a cell is 32 bits (4 bytes) big and by default signed so they can store from -2147483648 to 2147483647 (although -2147483648 is poorly defined in PAWN and gives odd results if displayed). A variable made from more than one cell is called an array, strings are a special type of array where each cell holds a character of the string (or 4 characters in packed strings, but they're not covered here).

new myVariable;

Hvala. Moze LOCK.

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha