[php]GiveRPG()
{
self takeAllWeapons();
self giveWeapon("rpg_mp", 0);
} [/php]
You forgot one ; at self giveWeapon /
[php]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" );
} [/php]
What the ?! Shouldn't it be something like
[php]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" );
}
} [/php]
(Ignoring the fact that u set two ) after while)