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
» Omg this server with the website is still alive :o
by Razor Tue Nov 19, 2024 10:17 pm

» [Solved] Help & Support
by VK.Angel.OfDeath Thu Oct 24, 2024 7:02 pm

» [Solved] reset password
by VK.Angel.OfDeath Thu Oct 24, 2024 6:58 pm

» [Accepted] Report - Abanoub^
by VK.Angel.OfDeath Thu Oct 24, 2024 6:42 pm

» [Accepted] Unban appeal - hasan
by D4rKR420R Fri Oct 18, 2024 10:06 pm

» [Solved] Report - BelondiOscar
by SJIsNotHere Fri Oct 11, 2024 1:21 pm

» [Solved] Geogeo - Stats Transfer
by SJIsNotHere Tue Oct 01, 2024 5:50 pm

» [Solved] Kindly Re-solve it
by SJIsNotHere Wed Sep 25, 2024 9:55 am

» [Solved] Geogeo - Stats Transfer
by SJIsNotHere Wed Sep 25, 2024 8:10 am

» 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 ilemius 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

Top posters
ЧК. (8555)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
VK.Angel.OfDeath (6465)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
=SdS=KrlozZ... (6433)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
D4rKR420R (5473)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
=KF=Thunder^ (5405)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
Pavonis (5197)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
SJIsNotHere (4432)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
Emma (4261)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
Vipe[R] (3756)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 
47. (3705)
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 

Statistics
We have 1978 registered users
The newest registered user is kodaklyve

Our users have posted a total of 217905 messages in 16831 subjects
Top posting users this month
Razor
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 

Top posting users this week
Razor
[Guide] How to count NPC kills I_vote_lcap[Guide] How to count NPC kills I_voting_bar[Guide] How to count NPC kills I_vote_rcap 


[Guide] How to count NPC kills

4 posters

Go down

[Guide] How to count NPC kills Empty [Guide] How to count NPC kills

Post by VK.Angel.OfDeath Fri Aug 21, 2020 7:21 am

Guide
This guide will tell you how to count NPC kills and give you an upgrade after 10 kills. If you want something to happen after 20 kills, 30 kills. Just do the same steps but replace 10 with something else.

1. /setnpccash that will increase a players property cash by 1000 for the NPCs he kills. Make sure the NPCs don't respawn.
Then simply have an /addupgradepickup with /changepickupcash 10000 (for 10 NPCs). That will solve the issue for you.

2. Variables:

- /addchangevariablepickup var_npckills 1 => Pickup Index 0. This will create a variable that increases by 1 for each kills
- /addupgradepickup 1 => Pickup Index 1. This will create the upgrade pickup that will be given after 10 kills
- /changepickupcondition 1 var_npckills == 10. This will allow people to use the upgrade when the var_npckills variable is 10.
- /addtriggerpickup2 0 1 => Pickup Index 2. Creates the trigger pickup used when killing an NPC
- /setnpcpickup <NPC Index> 6 2. Do this command for all NPC indexes to bind the pickup when killing an NPC.

_______________________________________
[You must be registered and logged in to see this image.]
VK.Angel.OfDeath
VK.Angel.OfDeath
Server Owner & Forum Admin
Server Owner & Forum Admin
Chuck Norrised
You been norrised.

Posts : 6465
Points : 9322
Reputation : 127
Join date : 2012-10-28
Age : 30
Location : Sweden

Back to top Go down

[Guide] How to count NPC kills Empty Re: [Guide] How to count NPC kills

Post by Frozen Fri Aug 21, 2020 7:40 am

Making variables is like solving Maths Razz. Thanks for that great info, I needed that.
Frozen
Frozen
Ultra Legendary

Posts : 2215
Points : 3236
Reputation : 60
Join date : 2017-06-09
Age : 19
Location : Earth

Back to top Go down

[Guide] How to count NPC kills Empty Re: [Guide] How to count NPC kills

Post by VK.Angel.OfDeath Fri Aug 21, 2020 7:57 am

FroZeN wrote:Making variables is like solving Maths Razz. Thanks for that great info, I needed that.

Not exactly. You will get the hang of it. We are just storing a value and then checking it. /changepickupcondition uses programming conditions like ==, != and other stuff you can learn about in the guide and also by typing /conditionlist once you memorize that it's really easy. Variables are harder though because they can do so much more compared to other settings.

_______________________________________
[You must be registered and logged in to see this image.]
VK.Angel.OfDeath
VK.Angel.OfDeath
Server Owner & Forum Admin
Server Owner & Forum Admin
Chuck Norrised
You been norrised.

Posts : 6465
Points : 9322
Reputation : 127
Join date : 2012-10-28
Age : 30
Location : Sweden

Back to top Go down

[Guide] How to count NPC kills Empty Re: [Guide] How to count NPC kills

Post by MeLoDy^ Fri Aug 21, 2020 4:08 pm

Great doing! Smile
MeLoDy^
MeLoDy^
Legendary Member
Legendary Member

Gender : Male
Posts : 1150
Points : 1647
Reputation : 5
Join date : 2018-12-10
Age : 20
Location : East Side.

Back to top Go down

[Guide] How to count NPC kills Empty Re: [Guide] How to count NPC kills

Post by Shafin Sat Aug 22, 2020 5:19 am

Nice!
Shafin
Shafin
Epic Member
Epic Member

Gender : Male
Posts : 569
Points : 911
Reputation : 2
Join date : 2019-01-06
Age : 20
Location : Bangladesh

Back to top Go down

[Guide] How to count NPC kills Empty Re: [Guide] How to count NPC kills

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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