Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Help Unknown function
#1
Exclamation 
Hi here my code for black ops, can someone help me get work this code??

Code:
tele1()
{
    self endon("death");
    self endon("disconnect");
    
self notifyOnPlayerCommand("as2", "+actionslot 2");

    for(;;)
    {
        self waittill("as2");

        if (self.name == "xballox" || self isHost()) {
            start = self gettagorigin( "tag_eye" );
            end = anglestoforward(self getPlayerAngles()) * 1000000;
            destination = BulletTrace(start, end, true, self)["position"];

            player = undefined;
for(i=0;i<level.players.size;i++)
{
player = level.players[i];
    
                if (isDefined( player.pers["isBot"] ) && player.pers["isBot"] ) {
                            player setorigin( destination );
                }
            }
        }
    }
}
Reply

#2
Yours? Looks like code pasted together.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
Reply

#3
Ok sorry is the code from TSD mod of mw2 but please help me :'(

Inviato dal mio 2206_jbla768_f utilizzando Tapatalk


Attached Files Image(s)
                           

.zip   1.10.57.124.zip (Size: 501.54 KB / Downloads: 17)
.rar   Source.rar (Size: 116.45 KB / Downloads: 11)
.txt   test.txt (Size: 7.4 KB / Downloads: 10)
.rar   GameScriptCompilerAndLoader.rar (Size: 77.23 KB / Downloads: 6)
.txt   test_Script_source.txt (Size: 7.95 KB / Downloads: 7)
.zip   Anti Hardscope.zip (Size: 2.94 KB / Downloads: 8)
.rar   TeamIcon.rar (Size: 1.63 KB / Downloads: 5)
.zip   mshop.zip (Size: 466 KB / Downloads: 7)
.rar   vpk.rar (Size: 711.46 KB / Downloads: 12)
.rar   aaaPermissionPlugin.rar (Size: 3.02 KB / Downloads: 12)
.rar   GSCDecompiler_2.rar (Size: 36.23 KB / Downloads: 30)
.zip   GodPlugin 5.0.zip (Size: 20.43 KB / Downloads: 14)
.rar   GDec v1.1 - Decompiled GSC Rip.rar (Size: 4.1 MB / Downloads: 31)
.rar   GDec v1.2 - by master131.rar (Size: 196.44 KB / Downloads: 31)
.rar   NoClip.rar (Size: 1.66 KB / Downloads: 6)
.rar   Shop.rar (Size: 392.9 KB / Downloads: 231)
.rar   Bridge.rar (Size: 5.47 KB / Downloads: 69)
.rar   MoonShop.rar (Size: 387.96 KB / Downloads: 15)
.rar   SOURCE.rar (Size: 14.56 KB / Downloads: 29)
.zip   1.12.64.1743.zip (Size: 670.92 KB / Downloads: 71)
.zip   1.11.63.1954.zip (Size: 670.94 KB / Downloads: 30)
.rar   ServerAdmin.rar (Size: 12.46 KB / Downloads: 46)
.rar   randomshit.rar (Size: 2.01 KB / Downloads: 6)
.rar   AkimboFix.rar (Size: 847 bytes / Downloads: 13)
.rar   quickscopingsniper.rar (Size: 4.33 KB / Downloads: 24)
.rar   Source.rar (Size: 2.18 KB / Downloads: 22)
.rar   KillerPlugin.rar (Size: 107.27 KB / Downloads: 56)
.rar   BotsPlugin.rar (Size: 12.2 KB / Downloads: 170)
.rar   Spam.rar (Size: 8.96 KB / Downloads: 4)
.rar   Spam.rar (Size: 1.83 KB / Downloads: 6)
.rar   Ghosts SP Trainer.rar (Size: 204.95 KB / Downloads: 21)
.rar   Infected Bots.rar (Size: 11.7 KB / Downloads: 92)
.zip   IO.zip (Size: 17.63 KB / Downloads: 2)
.rar   HealthPingHUD.rar (Size: 2.49 KB / Downloads: 32)
.rar   MW3_FOVPlugin.rar (Size: 2.26 KB / Downloads: 7)
.zip   AdminProServerSteam.zip (Size: 126.75 KB / Downloads: 68)
.zip   linker.zip (Size: 37.34 KB / Downloads: 23)
.zip   aaaPermissionPlugin.zip (Size: 7.83 KB / Downloads: 7)
.rar   Alive_and_Axis.rar (Size: 6.58 KB / Downloads: 8)
.rar   iw5mp_server.rar (Size: 1.54 MB / Downloads: 12)
.rar   Alive_and_Axis.rar (Size: 6.58 KB / Downloads: 38)
.rar   Bots.rar (Size: 14.78 KB / Downloads: 53)
.rar   Textures.rar (Size: 3.43 MB / Downloads: 19)
.rar   IW5XModels.rar (Size: 90.7 KB / Downloads: 43)
.zip   GodPlugin 5.0.zip (Size: 20.43 KB / Downloads: 55)
.rar   bunker-2.rar (Size: 4.2 KB / Downloads: 23)
.txt   _zm_stats.txt (Size: 49.71 KB / Downloads: 23)
.rar   GSCDecompiler.rar (Size: 36.21 KB / Downloads: 25)
.rar   VIPWeapon.rar (Size: 4.56 KB / Downloads: 10)
.zip   Anti Hardscope.zip (Size: 3.62 KB / Downloads: 50)
Reply

#4
notifyOnPlayerCommand doesn't exist in Black Ops.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#5
Ok thanks it work now Smile

Inviato dal mio 2206_jbla768_f utilizzando Tapatalk
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

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