Teach me how to make a custom item [TSRP] =]
Hey
Can someone give me a guide or explain how I make a custom item With a function? I want the item to be like using a hamburger. But instead of restoring your hunger, it announces that your going to do a hit in a special chat. Like how they have (CNN) (Advert) I want it to be (Hit). Can someone show me how to do that? |
5 parts:
Code:
5: In the sql, make an item, and have the command be: item_hit <id> |
Alright thanks. Wait where do I put the stuff in.. sorry I'm a real noob.
|
i think u put it in a notepad then save as "all file types" .sma so like firstplugin.sma and then use the compiler on the website but im not 100% correct
|
Ok I'll try what you said, if it doesn't work I'll just keep posting :P
|
Ok :D if it works you could give me some Karma :) 8)
|
Lol uh oh. It doesn't work.. well I don't know if I did anything wrong with the compiler but it gave me this error
Quote:
|
It looks like you forgot to add includes and messed up on some of your indents or something.
Code:
|
You should look up the sticky about "Helpful Scripting Links" and there's a guide for making a weapon.
|
Whoot that works. Thanks Six
|
| All times are GMT -4. The time now is 07:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.