GTA: Modification Area
Would you like to react to this message? Create an account in a few clicks or log in to continue.
GTA: Modification Area

A website for the GTA modding scene

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Big-game starts raising Schneider's profile
Lables <struct> EmptySun Mar 04, 2012 2:28 am by lavivi

» [Help] cleo created lighting
Lables <struct> EmptyThu Oct 14, 2010 1:03 am by findmy012

» Mission Question
Lables <struct> EmptyThu Oct 14, 2010 1:02 am by findmy012

» [IV] Spoiler Script
Lables <struct> EmptyThu Oct 14, 2010 1:02 am by findmy012

» Mission mod [help]
Lables <struct> EmptySat Sep 18, 2010 5:50 pm by jayd00

» Bc7 Mod Help
Lables <struct> EmptyFri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
Lables <struct> EmptyFri Dec 18, 2009 4:22 am by _CJ360_

» [IV] Novitec Rosso 599 GTB
Lables <struct> EmptyTue Nov 17, 2009 4:22 pm by Kotton

» Hello/Guidance Request
Lables <struct> EmptyMon Oct 12, 2009 6:45 am by Adler

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
image

Image

Image

Image

Image

Image

Image

Image

Image

Image

image

Image

steve-m.com

Image


----- Русский -----

Если ваш сайт содержит большую коллекцию SCM/CLEO-скриптов (больше 16), напишите на мой e-mail, и я добавлю его в список. Приветствуются скрипты, которые не встречаются на других сайтах ... Спасибо. ))))


----- English -----

If your website has a big enough collection of SCM/CLEO scripts (more than 16) notify me by e-mail
, and I will add it to the list. The unique scripts are preferable ... Thank you. ))))
Log in

I forgot my password



September 2024
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Calendar Calendar


You are not connected. Please login or register

Lables <struct>

Go down  Message [Page 1 of 1]

1Lables <struct> Empty Lables <struct> Sun Feb 08, 2009 10:45 am

gtasbigfoot

gtasbigfoot
Admin

A label is a part of almost any script. It is a sequence of characters that identifies a specific location within the script. In Sanny Builder labels are denoted with a -> : <-(arrows are point to the sign) as the first character.

A label can contain letters, numbers, and under score signs.
Labels are widely used in scripts in unconditional and conditional jumps. To jump to specific label, you must use its name with a @ (at sign) as the first character.

Here are some examples:

Code:

:Label1
0001: wait 0 ms
00d6: if
// something
then
  0002: jump @Label2
end
//..............................

:Label2
//..............................

Code:

:Label1
0001: wait 0 ms
00d6: if
// something
004d: jump_if_false @Label2
//..............................

:Label2
//..............................

http://gtamodding.com

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum