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

Buy respawn


Post New Thread Reply   
 
Thread Tools Display Modes
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 09-02-2013 , 09:12   Re: Buy respawn
Reply With Quote #11

Quote:
Originally Posted by rodrigo286 View Post
Now the plugin checks if the player is spectator, to prevent bugs.

Thanks for help.
Update the version ^^
__________________
BLacking98 is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 09-02-2013 , 09:19   Re: Buy respawn
Reply With Quote #12

Put changelog so when an Plugin Approvers see it, they know that you were working on the project and you are active.
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 09-02-2013 , 09:26   Re: Buy respawn
Reply With Quote #13

The changelog is already updated

Thanks for all help.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM

Last edited by rodrigo286; 09-02-2013 at 09:30.
rodrigo286 is offline
BLacking98
Veteran Member
Join Date: Oct 2012
Location: California
Old 09-02-2013 , 09:54   Re: Buy respawn
Reply With Quote #14

Add Counter Strike: Condition Zero to the "Works with games" and maybe half life ?
It's the same engine after all
__________________
BLacking98 is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 09-02-2013 , 09:55   Re: Buy respawn
Reply With Quote #15

It won't work on HL since it is using the cstrike module.
__________________



dark_style is offline
rodrigo286
Veteran Member
Join Date: Sep 2010
Location: Brazil, São Paulo
Old 09-02-2013 , 10:01   Re: Buy respawn
Reply With Quote #16

Yeap, I will update work with cz, but dont with HL

Thanks.
__________________
My Plugins | VIEW HERE | I accept private requests, send me a PM.
Buy respawn | Uber Recall | Grenade drop | Damage Supperssor
Meet the Medic | Disguise Expert | Crazy Jet

CZSBrasil TEAM

Last edited by rodrigo286; 09-02-2013 at 10:28.
rodrigo286 is offline
Old 09-16-2013, 09:33
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
hichamera
Senior Member
Join Date: Feb 2014
Location: Algeria
Old 05-27-2014 , 23:38   Re: Buy respawn
Reply With Quote #17

Gg <3
__________________

Try & Try & Try Nothing Is impossible
hichamera is offline
Send a message via Skype™ to hichamera
ezio_auditore
Senior Member
Join Date: May 2013
Old 05-30-2014 , 10:54   Re: Buy respawn
Reply With Quote #18

Maybe LordOfNothing made a plugin like this.
but anyways
GoodJob++;
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 06-16-2014 , 17:55   Re: Buy respawn
Reply With Quote #19

- The calculating of payment is pointless, just set the money directly in the native.
- Instead of typing the prefix manualy in each message, just make new const with the prefix, like this:
PHP Code:
new const Prefix[] = "[AmxModX]" 
- And it's not neede to make a check for the value of the cvar messages, just put the cvar's name in the 'if' statement and the compiler will check if there is a value itself.
- Also, the plugin will have much bigger chance for approval if you add multilingual support.
- Register say_team commands maybe.
__________________

Last edited by Flick3rR; 06-16-2014 at 17:56.
Flick3rR is offline
Send a message via Skype™ to Flick3rR
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-21-2014 , 09:57   Re: Buy respawn
Reply With Quote #20

PHP Code:
    if(get_user_team(client) == || get_user_team(client) == 0)
    {
        if(
messages != 0)
            
client_print(clientprint_chat"[AmxModX] Choose a team before purchasing a respawn.");

        return 
PLUGIN_HANDLED;
    }

    if(
get_pcvar_num(gEnabled) != 1)
    {
        if(
messages != 0)
            
client_print(clientprint_chat"[AmxModX] Buy respawn is disabled at this time.");

        return 
PLUGIN_HANDLED;
    } 
Firsly check if the command is disabled, you will avoid declaring a lot of variables and calling some natives.
HamletEagle is offline
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 19:15.


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