Raised This Month: $51 Target: $400
 12% 

[TF2] Spawn fake halloween gift


Post New Thread Reply   
 
Thread Tools Display Modes
Datenkralle
Member
Join Date: Jan 2011
Old 03-06-2011 , 10:36   Re: [TF2] Spawn fake halloween gift
Reply With Quote #21

It's very funny. The people collect gift after gift and hope they found a gift wich is not a fake.
__________________
Datenkralle is offline
rtk
Senior Member
Join Date: Dec 2009
Old 12-07-2012 , 18:53   Re: [TF2] Spawn fake halloween gift
Reply With Quote #22

I hope someone can help me making a slight change to this plugin.

I want to replace:
PHP Code:
TF2_StunPlayer(other6.0_TF_STUNFLAGS_LOSERSTATE); 
with something like:
PHP Code:
ServerCommand("sm_my_command <clientid> <param>"
I know that for some reason people dont like using ServerCommand but I want to use it to call a function of another plugin for the sake of making my life easier.

Now my little problem is that I need <clientid> to be the clientid of the player who touched the gift, can anybody tell me how to do it ?

Thanks
__________________
Never argue with an idiot. He lowers you to his level and then wins on experience!
rtk is offline
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 10-11-2014 , 07:29   Re: [TF2] Spawn fake halloween gift
Reply With Quote #23

This is a great template for my VIP Gifts plugin.
Thanks again (ill ofc give you credit + private)
__________________
SourcePawn Coding Level: Novice
DJ Data 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 05:17.


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