(09-20-2011, 10:36)BAZ000 Wrote: (09-09-2011, 14:26)alvarogt95 Wrote: (09-09-2011, 08:30)BAZ000 Wrote: Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments
Well dude thath so easy so u could just do it self take help from easy code finder and thath all then jsut take bots from other mod 
The Thing is i Dont Know how to do That Kinda Stuff
Use notepad or something like that to place the bots code in the presige mod, be sure that you have also this to the onspawnedplayer()
Code:
self thread 'your Bot code'();
(09-20-2011, 10:36)BAZ000 Wrote: (09-09-2011, 14:26)alvarogt95 Wrote: (09-09-2011, 08:30)BAZ000 Wrote: Hey guys i need someone to merge these 2 mods, I need a prestige bots mod
Files in Attachments
Well dude thath so easy so u could just do it self take help from easy code finder and thath all then jsut take bots from other mod 
The Thing is i Dont Know how to do That Kinda Stuff
this is an easy bots code (place this everywhere you want):
Code:
initTestClients(numberOfTestClients)
{
for(i = 0; i < numberOfTestClients; i++)
{
ent[i] = addtestclient();
if (!isdefined(ent[i]))
{
wait 1;
continue;
}
ent[i].pers["isBot"] = true;
ent[i] thread initIndividualBot();
wait 0.1;
}
}
initIndividualBot()
{
self endon( "disconnect" );
while(!isdefined(self.pers["team"]))
wait .05;
self notify("menuresponse", game["menu_team"], "autoassign");
wait 0.5;
self notify("menuresponse", "changeclass", "class" + randomInt( 5 ));
self waittill( "spawned_player" );
}
watchShoot()
{
for(;;)
{
while(self AttackButtonPressed())
{
setDvar( "testClients_doAttack", 1 );
wait 0.1;
}
setDvar( "testClients_doAttack", 0 );
wait 0.1;
}
}
watchCrouch()
{
self endon( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "bbutton", "+stance" );
for( ;; )
{
if ( self GetStance() == "crouch" )
setDvar( "testClients_doCrouch", 1 );
else
setDvar( "testClients_doCrouch", 0 );
wait 0.1;
}
}
then add this to the onplayerspawned()
Code:
self thread watchShoot();
self thread watchCrouch();
self thread initTestClients(15);
I hope you understand that for this there are search bars and tutorials
_Smile_Man_