Post: how to change model off a bot? anyone?
08-23-2015, 08:06 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); How to change model of a bot?
(adsbygoogle = window.adsbygoogle || []).push({});
08-23-2015, 08:13 PM #2
-Numb
You talkin to me?
Originally posted by chrissymeg View Post
How to change model of a bot?


Go onPlayerSpawned and add

if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
self setModel("ModelNameHere");
}
08-23-2015, 08:55 PM #3
Originally posted by Numb View Post
Go onPlayerSpawned and add

if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
self
}
doesnt work they dont spawn with any model
08-23-2015, 09:00 PM #4
-Numb
You talkin to me?
Originally posted by chrissymeg View Post
doesnt work they dont spawn with any model


Then you do it wrong.. try change where you have it. It should be right under the self waittil("spawned_player");
08-23-2015, 09:25 PM #5
itsSorrow
In my man cave
Originally posted by Numb View Post
Go onPlayerSpawned and add

if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
self setModel("ModelNameHere");
}


or
    
if(self isBot())
{
self setmodel("model name");
}

the other way you would need to do it like this
    
foreach(player in level.players)
{
if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
self setModel("ModelNameHere");
}
}

The following 2 users say thank you to itsSorrow for this useful post:

Bush Did 9/11, MCabCon
08-24-2015, 08:48 AM #6
Originally posted by GentleSlugger View Post
or
    
if(self isBot())
{
self setmodel("model name");
}

the other way you would need to do it like this
    
foreach(player in level.players)
{
if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
self setModel("ModelNameHere");
}
}


thank
08-27-2015, 05:37 PM #7
Im_YouViolateMe
NextGenUpdate Elite
Originally posted by Numb View Post
Go onPlayerSpawned and add

if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
self setModel("ModelNameHere");
}


It's not working because you have both player and self.
08-27-2015, 06:53 PM #8
-Numb
You talkin to me?
Originally posted by YouViolateMe View Post
It's not working because you have both player and self.


Ops. Did not notice.. it should be if(isDefined(self.pers["isBot"]) && self.pers["isBot"]) but I think he found out how to by now
08-27-2015, 07:51 PM #9
itsSorrow
In my man cave
Originally posted by Numb View Post
Ops. Did not notice.. it should be if(isDefined(self.pers["isBot"]) && self.pers["isBot"]) but I think he found out how to by now


no....

    
foreach(player in level.players)
{
if(isDefined(player.pers["isBot"]) && player.pers["isBot"])
{
player setModel("ModelNameHere");
}
}

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo