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

Help with a plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sasukebr
Member
Join Date: Feb 2012
Location: Porto Alegre
Old 06-11-2012 , 21:07   Help with a plugin
Reply With Quote #1

Hello friends here I am in need of a helping of you when I type / box to enable the glove does not show edited excuse me anything for my bad English
Attached Files
File Type: sma Get Plugin or Get Source (ScorPionS_JB_Box.sma - 463 views - 2.4 KB)
sasukebr is offline
Send a message via MSN to sasukebr Send a message via Skype™ to sasukebr
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-11-2012 , 21:09   Re: Help with a plugin
Reply With Quote #2

I'm checking out your sma now....but in the future, if you please, when your code is less than like 10 MB, just copy paste it into the thread between [php] tags. It'll make for less hard drive space being taken up by us. And quicker replies.
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-11-2012 , 21:12   Re: Help with a plugin
Reply With Quote #3

Quote:
Originally Posted by Liverwiz View Post
I'm checking out your sma now....but in the future, if you please, when your code is less than like 10 MB, just copy paste it into the thread between [php] tags. It'll make for less hard drive space being taken up by us. And quicker replies.
Sorry but hell no. Unless it is a short plugin or a snippet of the code, the SMA is preferred.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).

Last edited by YamiKaitou; 06-11-2012 at 21:12.
YamiKaitou is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-11-2012 , 21:17   Re: Help with a plugin
Reply With Quote #4

Quote:
Originally Posted by YamiKaitou View Post
Sorry but hell no. Unless it is a short plugin or a snippet of the code, the SMA is preferred.
ok....i guess 10M is pretty big. but a 2K file....gimme code.


SOLUTION: you don't actually show the model to anyone.
Code:
entity_set_string(id, EV_SZ_weaponmodel, "models/p_knife.mdl")
entity_set_string(id, EV_SZ_viewmodel, "models/v_box_blue.mdl")
will show your model to the indicated player, and on the indicated player. make sure to #include <engine>

and place those lines appropriately throughout your code.
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 06-11-2012 at 21:22.
Liverwiz is offline
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 06-11-2012 , 21:22   Re: Help with a plugin
Reply With Quote #5

Quote:
Originally Posted by Liverwiz View Post
ok....i guess 10M is pretty big. but a 2K file....gimme code.
Well, why didn't you say a 2KB file and not a 10MB? Durdurdur.
__________________
Hi.
Kreation is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-11-2012 , 21:31   Re: Help with a plugin
Reply With Quote #6

Quote:
Originally Posted by Liverwiz View Post
ok....i guess 10M is pretty big. but a 2K file....gimme code.
Still disagree. Anything longer than 30 lines should be attached. It is much easier to read the code when viewing it in a text editor as compared to in a post
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
sasukebr
Member
Join Date: Feb 2012
Location: Porto Alegre
Old 06-11-2012 , 21:37   Re: Help with a plugin
Reply With Quote #7

I'm new guy I have no experience with many being able to help me precache thank you
Attached Files
File Type: sma Get Plugin or Get Source (ScorPionS_JB_Box.sma - 38 views - 2.3 KB)
sasukebr is offline
Send a message via MSN to sasukebr Send a message via Skype™ to sasukebr
sasukebr
Member
Join Date: Feb 2012
Location: Porto Alegre
Old 06-11-2012 , 21:38   Re: Help with a plugin
Reply With Quote #8

You can pass the edited sma ready
sasukebr is offline
Send a message via MSN to sasukebr Send a message via Skype™ to sasukebr
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 06-11-2012 , 21:43   Re: Help with a plugin
Reply With Quote #9

Quote:
Originally Posted by sasukebr View Post
I'm new guy I have no experience with many being able to help me precache thank you
what you had before was correct. the entity_set_string() SHOWS the models, it isn't the models themselves.
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
sasukebr
Member
Join Date: Feb 2012
Location: Porto Alegre
Old 06-11-2012 , 21:49   Re: Help with a plugin
Reply With Quote #10

is how you post your edited the sma / box
sasukebr is offline
Send a message via MSN to sasukebr Send a message via Skype™ to sasukebr
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 13:30.


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