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

Requst Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mohanad_2022
Member
Join Date: Jan 2022
Location: Palestine
Old 12-01-2022 , 01:28   Requst Plugin
Reply With Quote #1

Hello everybuddy , hope all are well

i saw a plugin on cs1.6 zp server that it show the ranks up the head of the player

like if the player admin , the plugin will set a mdl model file up his head with the word "ADMIN" and same about any rank , and you can set the rank from the ini file like [ "name or steamid or IP" "the tag which you want add to him" ]

so guys could anyone help to find or creat it ?
mohanad_2022 is offline
Stefanos
Senior Member
Join Date: May 2020
Old 12-02-2022 , 13:11   Re: Requst Plugin
Reply With Quote #2

ye for $
Stefanos is offline
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 12-02-2022 , 19:49   Re: Requst Plugin
Reply With Quote #3

Quote:
Originally Posted by Stefanos View Post
ye for $
clown

https://forums.alliedmods.net/showthread.php?t=181306
__________________
deprale is offline
Stefanos
Senior Member
Join Date: May 2020
Old 12-03-2022 , 16:47   Re: Requst Plugin
Reply With Quote #4

Quote:
Originally Posted by deprale View Post
relax i will buy you with that money and u will be my slave
Stefanos is offline
deprale
Senior Member
Join Date: Oct 2018
Location: Leeds
Old 12-03-2022 , 20:27   Re: Requst Plugin
Reply With Quote #5

Quote:
Originally Posted by Stefanos View Post
relax i will buy you with that money and u will be my slave
I'm sure you are rich as hell, that's why you're using the best & cheapest hosting e-trail.eu
And whenever you need help, you choose the free & slow method of typing the requests here instead of paying your top g goldsrc amxx developers ready to be your slaves for the rest of their lives, because of course again you are extremely rich.

YOU A RICH MAN, so RICH that I can't even imagine how much money YOU must have, pablo escobar of the AMXX forums is asking for a few dollars because you only need another few bucks to reach the net value of 3 billion dollars, just mere dollars away... that's why you're asking for a few dollars, not because you are poor. Let's not even talk about how you'd sell him a plugin that you didn't even code yourself, you can barely change a few lines without requesting for help on the forums yet you're claiming code that isn't yours and on top of that you're not even allowed to sell AMXX plugins, read the licence you clown.

clown... this is gonna be the last time i even reply to you and your off-topic, bb loser.

__________________

Last edited by deprale; 12-03-2022 at 20:40.
deprale is offline
Stefanos
Senior Member
Join Date: May 2020
Old 12-06-2022 , 22:58   Re: Requst Plugin
Reply With Quote #6

who said im gonna create plugin for him lmao? i have team of my developers, my server is ranked at very top in history of cs, and as i was saying i can buy you and your whole family, later loser
Stefanos is offline
shayan123
BANNED
Join Date: Oct 2020
Location: GB
Old 01-13-2023 , 11:57   Re: Requst Plugin
Reply With Quote #7

First, you will need to create a new .ini file where you can define the player's name, SteamID, or IP, and the tag you want to display above their head.
You can use the following format:
HTML Code:
[player1]
name = "player1"
tag = "ADMIN"

[player2]
steamid = "STEAM_0:1:123456"
tag = "VIP"
You can also use IP instead of name or steamid.

Next, you will need to create the plugin itself. Here's an example of how you can create a plugin that reads the .ini file and displays the tag above the player's head:
PHP Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
#include <fakemeta>
#include <reapi>

#define PLUGIN_NAME "Rank Tags"
#define PLUGIN_VERSION "1.0"
#define PLUGIN_AUTHOR "YourName"

new g_ranks[33];

public 
plugin_init() {
    
register_plugin(PLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR);

    
// Read the ranks from the .ini file
    
new File:ranks fopen("ranks.ini""rt");
    if (
ranks) {
        new 
name[32], steamid[32], ip[32], tag[32], line[256];
        while (!
feof(ranks)) {
            
fgets(rankslinesizeof(line));
            if (
sscanf(line"[%[^]]]"name) == 1) {
                while (!
feof(ranks) && !strstr(line"[")) {
                    
fgets(rankslinesizeof(line));
                    if (
sscanf(line"name = \"%[^\"]\""name) == 1) {
                        
g_ranks 
shayan123 is offline
Send a message via ICQ to shayan123 Send a message via AIM to shayan123 Send a message via Yahoo to shayan123 Send a message via Skype™ to shayan123
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 18:56.


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