Raised This Month: $ Target: $400
 0% 

Bot's


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ColdWar
Member
Join Date: Aug 2012
Old 09-10-2012 , 11:02   Bot's
Reply With Quote #1

Hello, can I have a code to create a bot? by AMX Mod X.
I want to place a bot in the terrorists and counter-terrorists..
The reason doesn't metter.
ColdWar is offline
matsi
Thinkosaur
Join Date: Sep 2006
Old 09-10-2012 , 11:24   Re: Bot's
Reply With Quote #2

Search!

this has been asked/created before.
__________________

Accepting all kinds of requests via private message.

Last edited by matsi; 09-10-2012 at 11:24.
matsi is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 09-10-2012 , 11:33   Re: Bot's
Reply With Quote #3

Kapara you need to type Bots and not Bot's
__________________
retired
shavit is offline
ColdWar
Member
Join Date: Aug 2012
Old 09-10-2012 , 11:50   Re: Bot's
Reply With Quote #4

I know
ColdWar is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 09-10-2012 , 13:29   Re: Bot's
Reply With Quote #5

Quote:
Originally Posted by ColdWar View Post
I know
That's why you typed Bot's.
For the topic:
PHP Code:
new client find_player("i");

if(!
client)
{
    
client engfunc(EngFunc_CreateFakeClient"My bot");
    
engfunc(EngFunc_FreeEntPrivateDataclient);
    
dllfunc(MetaFunc_CallGameEntity"player"client);

I have no idea why you need to type "if(!client)" but it works.

BTW you don't need to open the same thread at another site if someone helped you there, and if you need a Pastebin link instead of the PHP code that I gave you - You know how to use the AMXX syntax.
__________________
retired

Last edited by shavit; 09-11-2012 at 01:09.
shavit is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode