Ask and Answer a question here of scripting in GTA 2.
- 1. Is it possible create a NEW -> set -> show dynamic display a long text (as in http://gtamp.com/images/gta2pedhealth.jpg)?
2. Is it possible declare a variable and store text (in string) into memory and write others varible?3. Can I show/hide ID http://gtamp.com/images/gta2pedhealth.jpg only one player, not all?Code: Select all
// Pseudo code: STRING string = "text 1" SET string = "text 2"
4. Can I show/hide the DISPLAY_BRIEF(ID) only one player, not all?5. Is it possible to extend the limit of OBJECTS/CARS/CHARREMAPS/WEAPONS have asked in this topic http://gtamp.com/forum/viewtopic.php?f=4&t=814#p9568Code: Select all
// Pseudo code: ShowDialog(player1, ID) HideDialog(player1, ID)
6. How to get the square root?7. How other methods (http://gtamp.com/forum/viewtopic.php?f=4&t=804) of a random number?Code: Select all
// Pseudo code: value = sqroot(9)
8. How get CAR/CHAR/OBJECT ID from area x, y, z?Code: Select all
// Pseudo code: value = random(MIN, MAX)
9. How get start time my server in milliseconds (through memory)?Code: Select all
// Pseudo code: carid = GetCarID(x, y, z) charid = GetCharID(x, y, z) objid = GetObjectID(x, y, z)
10. Is it possible (through memory) read/write get rotation/position of tank turret?
11. Is it possible (through memory) attached objects: object1 to object2 or object1 to car?
12. Arrays that possible? As can be this through memory?
13. Can be compile the script *.MIS to *.SCR in command line?
This example compiles in "C:\" files appear: mission.SCR, mission.TXT, mission.TMP, but mission.SCR does not work, and always weighs 48kb
compile.bat:14. What command/arguments knows the compiler GTA2script Compiler V9.6\miss2.exe -help -input "..." -i "..." -output "..."?Code: Select all
@echo off C:\miss2.exe C:\mission.mis pause
The topic will be expanded.
The most suitable answers will be given in the references.
If you know the answer to these questions are answered, do not hesitate.
Any help would be appreciated.