Raised This Month: $ Target: $400
 0% 

Create fake player or bot (problem)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
4JOKE
Member
Join Date: Jan 2008
Old 01-27-2009 , 12:21   Re: Create fake player or bot (problem)
Reply With Quote #4

I tryed everything what you advice me, but nothing helped. Here is my code:
PHP Code:
new bot_id engfunc(EngFunc_CreateFakeClient"Fake_player")
new 
ptr[128]
dllfunc(DLLFunc_ClientConnectbot_id"Fake_player""127.0.0.1"ptr)
dllfunc(DLLFunc_ClientPutInServerbot_id)
cs_set_user_team(bot_idCS_TEAM_CTCS_CT_URBAN)
set_pev(bot_idpev_effects, (pev(bot_idpev_effects) | 128)) 
set_pev(bot_idpev_solid1)
dllfunc(DLLFunc_Spawnbot_id)

new 
bot_userid get_user_userid(bot_id)
set_user_origin(bot_idfake_origin)
drop_to_floor(bot_id)
cs_user_spawn(bot_id)

set_user_rendering(bot_id,kRenderFxGlowShell,0,0,0,kRenderNormal,25)

engfunc(EngFunc_SetOriginbot_idFloat:{0,0,0}) 
Bot is still invisible and still few centimeters under ground. :/
4JOKE is offline
 



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 01:44.


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