Raised This Month: $ Target: $400
 0% 

FakeClients - specifically their weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 09-04-2007 , 04:15   Re: FakeClients - specifically their weapons
Reply With Quote #3

Quote:
For the problem at hand: you would have to give the weapon first and make it the current weapon.
In answer to the question "how do I make a weapon the current weapon" ... oh, you're a lot of help :-D

I don't think I need a message-logger as such (at least right now) - I'm spawning a bot, then on a task trying to give / set its weapon and amx_log'ing a get_user_weapon().

I can handle most "viewing" of the game with amx_log.

From reading other plugins' code, to force a real player to equip a specific weapon is just its name.
e.g. englient_cmd(id,"weapon_knife") but this doesn't work on fake ones :-(

And as for the movement, combat and actions - I'd do that with RunPlayerMove and the "buttons" bit field, right?

Thanks again.

p.s. anyone know a straight answer to "how do you force a fakeclient to equip a weapon?"
(but feel free to reply to anything else mentioned)
purple_pixie 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 16:09.


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