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

[Help] Respawn Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 01-07-2017 , 14:14   [Help] Respawn Menu
Reply With Quote #1

Hello Guys
I Want Get Need Help In This Plugin

PHP Code:
public ReviveMenu(id)
{
    new 
RevivePlayer menu_create ("\r[Micro#Gamers] \wRespawn Menu""HandleRevive")

    new 
numplayers[32], tempidszTempID [10], tempname [32]
    
get_players (playersnum"cb")

    for (new 
0numi++)
    {
        
tempid players ]

        
get_user_name (tempidtempname31)
        
num_to_str (tempidszTempID9)
        
menu_additem (RevivePlayertempnameszTempID0)
    }

    
menu_display (idRevivePlayer)
    return 
PLUGIN_HANDLED
}
public 
HandleRevive(idmenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED
    
}
    
    new 
data[6], name[64]
    new 
accesscallback
    
    menu_item_getinfo 
(menuitemaccessdata5name63callback)
    new 
tempid str_to_num (data)
    
    
get_user_name(idszName32)
    
get_user_name(tempidszPlayerName32)
    
    
ExecuteHamB(Ham_CS_RoundRespawntempid)

    
ColorChat(0RED"^4[M#G] ^1Admin ^4%s ^1Respawn Player ^4%s  ^1!",szNameszPlayerName)    
    
ReviveMenu(id)
    
    return 
PLUGIN_CONTINUE

In This Respawn Menu I Want Show Your Name( Only ) (YourSelf)
Help And thanks
__________________

Last edited by Amine Belokda; 01-07-2017 at 14:14. Reason: Fix Lang
Amine Belokda is offline
Send a message via MSN to Amine Belokda
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 01-07-2017 , 17:02   Re: [Help] Respawn Menu
Reply With Quote #2

Show Your Name ( To Respaw Yourself Only )
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-07-2017 , 17:20   Re: [Help] Respawn Menu
Reply With Quote #3

My name? Which name?! Is it so hard to remove 2 symbols from the message?

ColorChat(0,*RED,*"^4[M#G]*^1Admin*^4%s*^1Respawn*Player*^4%s**^1!",szN ame,*szPlayerName)

"want get need help" ftw.
Stop Writing Like You Were Torn Out From An Early Verson Of Google Translate. Only the FIRST word starts with a capital letter. People these days...
__________________

Last edited by OciXCrom; 01-07-2017 at 17:21.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 01-08-2017 , 05:23   Re: [Help] Respawn Menu
Reply With Quote #4

Quote:
Originally Posted by OciXCrom View Post
My name? Which name?! Is it so hard to remove 2 symbols from the message?

ColorChat(0,*RED,*"^4[M#G]*^1Admin*^4%s*^1Respawn*Player*^4%s**^1!",szN ame,*szPlayerName)

"want get need help" ftw.
Stop Writing Like You Were Torn Out From An Early Verson Of Google Translate. Only the FIRST word starts with a capital letter. People these days...
Sorry Help Me Oke
Fix Plugin Ok How become the Plugin see his name only in this the Plugin
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
Old 01-08-2017, 09:04
yas17sin
This message has been deleted by yas17sin. Reason: sorry mistake
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-08-2017 , 10:14   Re: [Help] Respawn Menu
Reply With Quote #5

Which name???????????? ADMIN OR PLAYER???????
__________________

Last edited by OciXCrom; 01-08-2017 at 10:15.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 01-08-2017 , 12:44   Re: [Help] Respawn Menu
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
Which name???????????? ADMIN OR PLAYER???????
Name Admin (Only)
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
shehzad1234
BANNED
Join Date: Jan 2016
Location: https://t.me/pump_upp
Old 01-08-2017 , 13:08   Re: [Help] Respawn Menu
Reply With Quote #7

This??

PHP Code:
ColorChat(0RED"^4[M#G] ^1Admin ^4%s ^1Respawn Player^1!",szName
shehzad1234 is offline
Send a message via ICQ to shehzad1234 Send a message via AIM to shehzad1234 Send a message via Yahoo to shehzad1234
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-08-2017 , 17:44   Re: [Help] Respawn Menu
Reply With Quote #8

Dude, you need just to remove one string, We now know that you don't know nothing of AMXX, but we shouldn't do ALL LITTLE THING WHAT YOU WANT, you need to learn a bit.

Just remove one F*CKING string, LOL. We don't started knowing all the things of amxx, we learned what we know, do it you as well.

And you can use

PHP Code:
menu_display(id,menu
Instead of

PHP Code:
ReviveMenu(id
Ah, I forgot, you don't know, here's

PHP Code:
public HandleRevive(idmenuitem)
{
    if(
item == MENU_EXIT)
    {
        
menu_destroy(menu)
        return 
PLUGIN_HANDLED
    
}
    
    new 
data[6], name[64]
    new 
accesscallback
    
    menu_item_getinfo 
(menuitemaccessdata5name63callback)
    new 
tempid str_to_num (data)
    
    
get_user_name(idszName32)
    
get_user_name(tempidszPlayerName32)
    
    
ExecuteHamB(Ham_CS_RoundRespawntempid)

    
ColorChat(0RED"^4[M#G] ^1Admin ^4%s ^1Respawn Player ^4%s  ^1!",szNameszPlayerName)    
    
menu_display(idmenu)
    
    return 
PLUGIN_CONTINUE

__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 01-08-2017 at 17:46.
EFFx is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-08-2017 , 19:23   Re: [Help] Respawn Menu
Reply With Quote #9

But he want get need help.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Amine Belokda
Senior Member
Join Date: Oct 2015
Location: ML_NOT_FOUND
Old 01-09-2017 , 07:40   Re: [Help] Respawn Menu
Reply With Quote #10

Quote:
Originally Posted by OciXCrom View Post
But he want get need help.
Oh Sorry for ( My Bad English -_- )
__________________
Amine Belokda is offline
Send a message via MSN to Amine Belokda
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:39.


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