|
 |
|
|
|
|
|
GTA Modification Forums
Var ... End question
 |
|
 |
| |
Link2012  |
|
Wut?

Group: Members
Joined: Jan 30, 2011


|
Sanny Help, supported types: | QUOTE | The following types are supported:
Integer, Int - integer values
Float - floating-points values
String, ShortString - fixed length string variable
(only for the arrays, use s$, @s for the variables)
LongString - Variable length string variable
(only for the arrays, use v$, @v for the variables) |
And you can put a class-name too, in your post you said about Actor, that is because Actor is a "class". Look: | CODE | var 0@ : Audiostream 1@ : Car end
0@.Load("a.mp3") // works because you defined 0@ as Audiostream, that is the same as: Audiostream.Load(0@, "a.mp3")
1@.Create(#ADMIRAL, 0.0, 0.0, 0.0) // works, you know... // Equivalent to... Car.Create(1@, #ADMIRAL, 0.0, 0.0, 0.0) |
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
Ify24  |
|
0x00000000 --> invisible

Group: Members
Joined: Aug 17, 2011


|
| QUOTE (Link2012 @ Sunday, Mar 18 2012, 13:05) | Sanny Help, supported types:
| QUOTE | The following types are supported:
Integer, Int - integer values
Float - floating-points values
String, ShortString - fixed length string variable
(only for the arrays, use s$, @s for the variables)
LongString - Variable length string variable
(only for the arrays, use v$, @v for the variables) |
And you can put a class-name too, in your post you said about Actor, that is because Actor is a "class".
Look:
| CODE | var 0@ : Audiostream 1@ : Car end
0@.Load("a.mp3") // works because you defined 0@ as Audiostream, that is the same as: Audiostream.Load(0@, "a.mp3")
1@.Create(#ADMIRAL, 0.0, 0.0, 0.0) // works, you know... // Equivalent to... Car.Create(1@, #ADMIRAL, 0.0, 0.0, 0.0) | | Thanks.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|