VKs Official Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» Matija_Todorovic returns after 3 years of absence
by UmaR Sun Sep 01, 2024 5:55 am

» [Solved] Signature^-Stats transfer
by UmaR Wed Aug 21, 2024 2:38 pm

» [Denied] Admin Application - MK14
by UmaR Fri Aug 16, 2024 8:44 pm

» [Solved] Reset my password pls
by VK.Angel.OfDeath Wed Aug 14, 2024 6:44 am

» Old member back from the dead
by Neptune Mon Aug 12, 2024 9:39 pm

» Vice War X Gameplay | BadDiamondArtz VCMP
by UmaR Thu Jul 18, 2024 10:00 am

» [Solved] RESET PASSWORD
by UmaR Fri Jul 12, 2024 3:29 pm

» [Solved]Transfer Application - Hazard
by SJIsNotHere Wed Jul 03, 2024 10:56 am

» DARKRAZOR RESPONDE MI MENSAJE!!!
by Veterano789 Wed Jul 03, 2024 1:59 am

» Vice War X: The Starfish Showdown
by =FF=B00M_B00M^ Thu Jun 27, 2024 6:17 pm

» Fatal Force - F2
by Mr.Moon Wed Jun 26, 2024 7:18 am

» Stat Transfer Application - SuFyastiC
by D4rKR420R Tue Jun 04, 2024 10:07 pm

» [Accepted] Unban Appeal
by VK.Angel.OfDeath Sun Mar 31, 2024 8:29 am

» [Solved] Password Reset
by VK.Angel.OfDeath Sat Mar 23, 2024 9:32 pm

» Ramadan Mubarak in Advance
by Shafin Sat Mar 23, 2024 1:52 pm

» Illegal Immigration | Old Memories | 2017
by DarkRazor Fri Feb 09, 2024 5:25 pm

» VKs and VCMP Previews
by SJIsNotHere Sat Jan 20, 2024 1:51 pm

» The Resurgence 4th Year of Anniversary!
by Ninja Tue Jan 16, 2024 10:30 am

» [Solved]Stats Transfer application - Shado[W]^
by SJIsNotHere Mon Nov 27, 2023 5:06 pm

» Hi to all my good friends
by VK.Angel.OfDeath Sat Nov 18, 2023 9:04 am

» [Closed] Admin Application - F2.Ninja
by VK.Angel.OfDeath Sat Nov 18, 2023 8:49 am

» [Closed] Suggestion - We can change weather in props
by VK.Angel.OfDeath Sat Nov 18, 2023 8:45 am

» [Denied] Suggestion - Garbageman Job
by VK.Angel.OfDeath Sat Nov 04, 2023 8:27 pm

» Server Files (24/10/2023)
by VK.Angel.OfDeath Sun Oct 29, 2023 1:22 pm

» [Accepted] playaaa, ULK.Hulk. [M4]Halilibow - speed hacking in parkours
by VK.Angel.OfDeath Sun Oct 29, 2023 1:15 pm

» [Solved] Password Reset- TrapHole
by VK.Angel.OfDeath Sun Oct 29, 2023 1:13 pm

» [Solved] Request for Password Reset (2)
by VK.Angel.OfDeath Sat Oct 21, 2023 1:14 pm

» [Solved] Password Rest
by [RPG]G_man Thu Oct 05, 2023 9:07 pm

» [Noted] FPV Suggestion
by SJIsNotHere Sat Sep 02, 2023 8:31 pm

» [Solved] Pass Reset Application Foster^
by VK.Angel.OfDeath Fri Jul 28, 2023 12:00 pm

Top posters
ЧК. (8555)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
VK.Angel.OfDeath (6459)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
=SdS=KrlozZ... (6433)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
D4rKR420R (5472)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
=KF=Thunder^ (5405)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
Pavonis (5197)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
SJIsNotHere (4428)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
Emma (4261)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
Vipe[R] (3756)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 
47. (3705)
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 

Statistics
We have 1972 registered users
The newest registered user is Neverima

Our users have posted a total of 217882 messages in 16822 subjects
Top posting users this month
UmaR
[HARD] Create your own variables I_vote_lcap[HARD] Create your own variables I_voting_bar[HARD] Create your own variables I_vote_rcap 

Top posting users this week
No user


[HARD] Create your own variables

Go down

[HARD] Create your own variables Empty [HARD] Create your own variables

Post by VK.Angel.OfDeath Sat Jul 04, 2020 9:15 am

Guide Custom Variables

- You can also make your own variables. There are two types of variables you can make. Player variables and property variables.

What is the difference? Well if you define something as a property variable it will have the same value for all players, one variable you can find related to this in /playervariablelist is: server_time. It will display the current server time and thus have the same value for everyone at all time.


Property Variables



Setting variable

Example: /addvariablepickup var_test 5
Description: Will set the variable var_test to 5. You can use any names for your variables as long as it starts with var_test.
After you enter the pickup and then enter /addmsgpickup $var_test$, the message will display 5 or NO_VALUE if you haven't entered the variable pickup.

Example: /addvariablepickup var_test angel rules
Description: Will set the variable var_test to "angel rules".

Example: /addvariablepickup var_test var_test2
Description: Will set the variable var_test to the value of var_test2.


Changing variables

Example: /addchangevariablepickup var_test 5
Description: Will add +5 to your variable everytime you enter it.

Example: /addchangevariablepickup var_test -5
Description: Will add -5 to your variable everytime you enter it.


Player Variables


Same thing but use: /addplayervariablepickup and /addchangeplayervariablepickup instead.
VK.Angel.OfDeath
VK.Angel.OfDeath
Server Owner & Forum Admin
Server Owner & Forum Admin
Chuck Norrised
You been norrised.

Posts : 6459
Points : 9316
Reputation : 127
Join date : 2012-10-28
Age : 30
Location : Sweden

Back to top Go down

Back to top

- Similar topics

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