Quote:
Originally Posted by ColdWar
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_FreeEntPrivateData, client);
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.
__________________