AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fake client (https://forums.alliedmods.net/showthread.php?t=48175)

orkz 12-06-2006 16:36

fake client
 
is it possible to spawn a fake client that takes damage like a real player and register it with register_event function?

The Specialist 12-06-2006 16:38

Re: fake client
 
do yyou want a non-playble character that can take damge ? or more liek a bot ?
http://forums.alliedmods.net/showthread.php?t=11756

orkz 12-06-2006 16:44

Re: fake client
 
no matter what it is, i just want to find out how much damage i did to it..

The Specialist 12-06-2006 16:50

Re: fake client
 
well then go read htat tutorial there

orkz 12-06-2006 16:55

Re: fake client
 
i already did, but that NPC doesn't take damage and can't be registered... or i am wrong?

The Specialist 12-06-2006 16:57

Re: fake client
 
nope your wrong if you read it all and the entire thread there is a way to make an entity take damage

orkz 12-06-2006 17:04

Re: fake client
 
if you mean this:

Quote:

1. Follow the guide above
2. replace "create_entity("info_target"" with engfunc(EngFunc_CreateFakeClient,"Onna")
3. Set the model of the new bot using the mod specific functions.
server always crash on npc spawn

orkz 12-06-2006 17:59

Re: fake client
 
found what is need, tnx ;)


All times are GMT -4. The time now is 06:55.

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