For E[POD]bot to get the bots to buy granede I must write
Code:
FakeClientCommand(pEdict, "menuselect","8", NULL);
FakeClientCommand(pEdict, "menuselect","4", NULL);
But if tape
Code:
FakeClientCommand(pEdict, "buy;menuselect 8;menuselect 4", NULL, NULL);
The bots don't buy granede ???
How can I fix this.
This is not problem for Counter-Strike 1.6 becose now the bots buy weapon with shortcuts and in the shortcut is taped
Code:
FakeClientCommand(pEdict, "buy;menuselect 4;menuselect 3", NULL, NULL);
For that reason the bots in Counter-Strike 1.5 can't buy weapons but in Counter-Strike 1.6 there is no problem becose there the bots don't use buy;menuselect, they directly use the name of weapon to buy it.
For that reason I wont to fix this.