Employment MOD Help TSRP Amxx 1.7
Yes i found this on here and it is told to be broke and un finshed i want it where you can go up to a npc and type /buy and brings up list jobs u see
1.Waiter 2. janitor and you press 1 makes you waiter, reason i want this so i dont have to give new people e jobs and i can deal with bigger issues Code:
public plugin_init() { |
anyone?
|
i might know someone who will touch it
|
and testoma do you know how to un precache models on map for like i can run more models for a carmod
|
someone eles is going to have to fix that code
|
anyone fix that plugin?
|
Quote:
|
I can't help you on the NPC part, so I would look over Twilight Suzuka's Awesome Creating an NPC Guide.
Well for the command to access the NPC you would need to register this: Code:
Then, you would have to make a menu where you could link to that: Code:
Then, for the menu to actually work you need to complete the client command function: Code:
Finally, you can set the code/actions that take place for the actual menu: Code:
Well here's it all together: Code:
This isn't perfect, might not work because I did it real fast without thinking straight. But it's just supposed to be helpful. :) |
Ummmm, that shouldn't work at all.
1. You never created a method named clcmd_buy 2. You never set origin on where NPC (the store only, not the model) should appear, I believe this would cause /buy to work anywhere around the map. Yes, yes, i know you said this wouldn't work, just pointin it out though :D. |
Quote:
|
| All times are GMT -4. The time now is 08:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.