Sunglasses
1 Attachment(s)
Sunglasses
Author : SAMURAI Version : 0.1 Plugins Details: Players can buy sunglasses and they won't be flashed. Command: say sunglasses Cvars: sunglasses_price (default 1100$) - Set sunglasses price sunglasses_msg_mode (default 1) 1 - After client connect to server, see a advert message to know about sunglasses 2 - On every round appear that advert message sunglasses_mode (default 1) 1 - Player buy sunglasses and on current round won't be flashed. On next round he don't have sunglasses anymore 2 - Player buy sunglasses and can use it on current round for a limited times (Set value by cvar sunglasses_max ) . On next round he don't have sunglasses anymore sunglasses_max (default 4) - Set how many times a client can use sunglasses in a round. Works only if sunglasses_mode is 2 . |
Re: Sunglasses
My eyes! The goggles do nothing!
|
Re: Sunglasses
What you mean do nothing ?
|
Re: Sunglasses
bl4nk: the Sunglasses doesn't change the view, they prevent you getting flashed.
Gj Samurai! |
Re: Sunglasses
8)gj samaurai
|
Re: Sunglasses
I believe bl4nk was just quoting the line from that Simpsons episode. Which was freaking hilarious lol
|
Re: Sunglasses
|
Re: Sunglasses
oh :)
|
Re: Sunglasses -bug?
This plugin rejects players from entering our server. It only says reason:"." If I remove the code below it all works:
Code:
public bool:OnClientConnect(client) any ideas? another possible bug: If you don't buy sunglasses, run out of buying area and then goes back, it's not possible to buy sunglasses anymore |
Re: Sunglasses
It needs to have "return true;" at the end of that function, like so:
PHP Code:
|
Re: Sunglasses
Then i load this plugin, players can't write in chat....plugin buging.. :/
|
Re: Sunglasses
The "return Plugin_Handled" at the bottom of the chat hook sound be Plugin_Continue.
|
Re: Sunglasses
I find "return Plugin_Handled" string, but I dont understand, what do next?
|
Re: Sunglasses
From:
PHP Code:
PHP Code:
|
Re: Sunglasses
Thank you man ;) It's work.
|
Re: Sunglasses
How would I edit the sp. file to make it so instead of "say sunglasses" it would be a silent console command like SM_sunglasses, and only admins or, a special admin group can use it?
|
Re: Sunglasses
Can you have it so you need "reserved" slot to purchase these?
|
Re: Sunglasses
When I add this addon to my server it rejects me from entering. When I take it off it allows me in the server.
|
Re: Sunglasses
2 Attachment(s)
So,
I changed the part at the .sp file, for all which don't want change the file by herself. Have fun. Greetings, gaissi |
Re: Sunglasses
Working now?
|
All times are GMT -4. The time now is 16:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.