• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Run this code
#1
When I kill enough, it nothing happens! Why?


Quote:MonitorKillstreaks()
{
self endon("respawn");
self endon("death");
self endon("disconnect");

for(;Wink
{
if(self.pers["botKillstreak"] == 5 && self.pers["lastKillstreak"] != "uav")
{
self.pers["lastKillstreak"] = "uav";
self maps\mp\gametypes\_hardpoints:ConfusedtreakNotify(self.pers["cur_kill_streak"]);
self maps\mp\gametypes\_hardpoints::giveKillstreak("radar_mp", "radar_mp", true, false);
}


wait 0.05;
}
}
  Reply
#2
Lets take a look at this shall we?
Code:
if(self.pers["botKillstreak"] == 5 && self.pers["lastKillstreak"] != "uav")

if(self.pers["botKillstreak"] == 5

self.pers["botKillstreak"]

["botKillstreak"]

bot
YouTube 1: Azumikkel - Modding
YouTube 2: DerpShark - Gaming Entertainment
Website: Jensby.me
Contact: im[at]jensby.me
[-] The following 3 users say Thank You to AZUMIKKEL for this post:
  • Romuald27, SuperNovaAO, surtek
  Reply
#3
(03-12-2011, 22:37)AZUMIKKEL Wrote: Lets take a look at this shall we?
Code:
if(self.pers["botKillstreak"] == 5 && self.pers["lastKillstreak"] != "uav")

if(self.pers["botKillstreak"] == 5

self.pers["botKillstreak"]

["botKillstreak"]

bot

So you say he should change it to self.pers["bot"]? [Image: troll-1.gif]
[Image: azuw.jpg]
  Reply
#4
(03-12-2011, 22:37)AZUMIKKEL Wrote: Lets take a look at this shall we?
Code:
if(self.pers["botKillstreak"] == 5 && self.pers["lastKillstreak"] != "uav")

if(self.pers["botKillstreak"] == 5

self.pers["botKillstreak"]

["botKillstreak"]

bot

So you say he should change it to self.pers["bot"]? [Image: el9rnk.gif]
[Image: azuw.jpg]
[-] The following 1 user says Thank You to zxz0O0 for this post:
  • Romuald27
  Reply
#5
These are not bots Combat Training, but bots like cod 4 zombie.
  Reply
#6
Sorry, but when you move on to a difficulty like that, self.pers variables should already be obligatory.
My guess is that you didn't define the self.pers["botKillstreak"] variable.
If you have no idea what I'm talking about, move down to a lower difficulty.
YouTube 1: Azumikkel - Modding
YouTube 2: DerpShark - Gaming Entertainment
Website: Jensby.me
Contact: im[at]jensby.me
[-] The following 1 user says Thank You to AZUMIKKEL for this post:
  • Romuald27
  Reply
#7
attacker.pers["botKillstreak"]++;

I have already defined, each kill zombies.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help Code color crosshairs koren30 3 1,397 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 2,677 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 1,193 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 1,477 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 3,169 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 1,870 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 770 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 1,457 04-20-2013, 15:06
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 1,500 04-05-2013, 18:15
Last Post: SuperNovaAO
Smile Help Help me with a code (who knows) NyZzE 2 883 04-05-2013, 01:47
Last Post: NyZzE

Forum Jump:


Users browsing this thread: 1 Guest(s)