Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Nuke Replacing with UAV
#1
I am tryingto make a code what is replacing the Nuke killstreak with an UAV.
Now it is repalcing, but for everyone on the server, not just the Nuke owner get UAV.

PHP Code:
NoNuke()
{
self endon("disconnect");
self endon("death");
self endon("off");

    for(;;)
    {
        if (
self getPlayerData("killstreaks""nuke") )
        {
            
self setPlayerData"killstreaks"2"uav" );    
        }
        
        else
        {
            
self notify ("off");
        }

    
wait 0.2;
    }

Reply

#2
Try
Code:
if (self getPlayerData("killstreaks", 2)=="nuke"  )

But I actually don't like mods which modify my killstreak playerdata. Why don't you just modify _killstreaks.gsc or _nuke.gsc? Maybe take a look at this: http://www.itsmods.com/forum/Thread-Rele...reaks.html
[Image: azuw.jpg]
Reply

#3
(06-03-2012, 14:17)zxz0O0 Wrote: Try
Code:
if (self getPlayerData("killstreaks", 2)=="nuke"  )

But I actually don't like mods which modify my killstreak playerdata. Why don't you just modify _killstreaks.gsc or _nuke.gsc? Maybe take a look at this: http://www.itsmods.com/forum/Thread-Rele...reaks.html

Hmm, will try that, thanks.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] - Better Nuke momo5502 10 6,450 02-13-2013, 13:33
Last Post: banz
  [Request] nuke mod TheDAVAAD 4 2,676 07-09-2012, 23:57
Last Post: Nekochan
  Preview My Custom Nuke Yamato 6 4,163 01-29-2012, 11:34
Last Post: Yamato
  Candy Nuke Yamato 0 1,860 08-24-2011, 12:48
Last Post: Yamato
  [Release] Big Nuke Yamato 2 2,744 08-23-2011, 06:49
Last Post: aosma8
  [Request] NUKE MOD paok-atak 6 4,607 06-29-2011, 08:44
Last Post: OrangePL
  [Release] Call In A Nuke d0h! 4 3,666 01-07-2011, 11:37
Last Post: alistair3149

Forum Jump:


Users browsing this thread:
1 Guest(s)

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