Thread Rating:
  • 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
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]
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
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 4,016 10-02-2013, 19:26
Last Post: koren30
  Help need help?how to make plugins code hXnarutoXone 12 8,546 09-01-2013, 18:30
Last Post: Bandarigoda123
  Help Need Help with C# code tubwux 2 3,313 08-27-2013, 18:18
Last Post: tubwux
  [Request] Compile this code please dozsa0 4 4,133 08-10-2013, 21:02
Last Post: Nukem
  Compile this code please First_Semyon 12 9,682 08-08-2013, 14:53
Last Post: Bandarigoda123
  Compile please this code First_Semyon 8 5,637 07-28-2013, 01:52
Last Post: First_Semyon
  Code of vector Bloodfocus 1 2,411 06-23-2013, 11:54
Last Post: Yamato
  problem with gsc code CheGuevara 5 5,617 04-20-2013, 15:06
Last Post: Nekochan
Tongue [Request] read if you have a cs:go code:) rawr-saours 5 4,061 04-05-2013, 18:15
Last Post: SuperNovaAO
Smile Help Help me with a code (who knows) NyZzE 2 2,541 04-05-2013, 01:47
Last Post: NyZzE

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.