[TF2] Cakevich
2 Attachment(s)
Lets Heavies throw cakes instead of sandviches/steaks (produces the same effect)
Client Command: sm_cakevich [0, 1, or 2] - 0 to stop throwing cakes, 1 to throw the medium cake plate, 2 to throw a large cake plate (still acts as a medium) Then there's the version cvar, sm_cakevich_version, and the enabled cvar: sm_cakevich_enabled <0/1> allow or disable cake throwing. Defaults to 1. Requires SDKHooks I GOT BORED OK?! |
Re: [TF2] Cakevich
This is just a big lul. haha
|
Re: [TF2] Cakevich
And who says boredom is bad? Well, technically I did, but I was wrong at this point.
|
Re: [TF2] Cakevich
lol mad fun!
|
Re: [TF2] Cakevich
hmm
got this server log Quote:
wa |
Re: [TF2] Cakevich
It's a cvar, not a command.
|
Re: [TF2] Cakevich
i need to put thos line in server.cfg
Quote:
:wink: |
Re: [TF2] Cakevich
Cakevich defaults to enabled. You don't need to automatically put everything you see in the "cvar" section of a plugin post into server.cfg. Only if you want to change default values do you do so.
sm_cakevich isn't even a cvar. |
Re: [TF2] Cakevich
ok ty
but can you make it work automaticly no need to type command ?? ty wa |
Re: [TF2] Cakevich
Simple and nice plugin. Thanks for sharing.
Codewise, I believe you could change this : Code:
for (new i = 0; i <= MaxClients; i++) Code:
for (new i = 1; i <= MaxClients; i++) Quote:
Code:
public OnClientPutInServer(client) cake[client] = 0; Code:
public OnClientPutInServer(client) cake[client] = 1; and recompile. Not tested but it should work as it did, but with everyone's default set to drop cakes. |
All times are GMT -4. The time now is 06:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.