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

[BB] Revive Text With AdminName


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yousuf khan
Member
Join Date: May 2019
Old 07-25-2020 , 15:21   [BB] Revive Text With AdminName
Reply With Quote #1

Can AnyOne Solve This Please ?
I Didn't Understand I Add That And Compile It And Add In My Server But Didn't Working :/





Code:
		if (!player || !is_user_connected(player))
			return client_print(id, print_console, "[Base Builder] %L", LANG_SERVER, "FAIL_NAME");
			
		ExecuteHamB(Ham_CS_RoundRespawn, player)
		
		new szAdminAuthid[32],szAdminName[32],szPlayerName[32],szPlayerID[32]
		get_user_name(id,szAdminName,31)
		get_user_authid (id,szAdminAuthid,31)
		get_user_name(player, szPlayerName, 31)
		get_user_authid (player,szPlayerID,31)
		
		client_print(id, print_console, "[Base Builder] Player %s has been^x04 revived", szPlayerName, adminname)
		Log("[REVIVE] Admin: %s || SteamID: %s revived Player: %s || SteamID: %s", szAdminName, szAdminAuthid, szPlayerName, szPlayerID)
		
		set_hudmessage(255,0, 0, -1.0, 0.45, 0, 1.0, 10.0, 0.1, 0.2, 1)
		show_hudmessage(player, "%L", LANG_SERVER, "ADMIN_REVIVE");
		
		print_color(0, "%s Player^x04 %s^x01 has been^x04 revived^x01 by an^x04 %s", MODNAME, szPlayerName, szAdminName)
	}
	return PLUGIN_HANDLED	
}

Last edited by yousuf khan; 07-25-2020 at 15:22.
yousuf khan is offline
yousuf khan
Member
Join Date: May 2019
Old 07-25-2020 , 19:00   Re: [BB] Revive Text With AdminName
Reply With Quote #2

It Worked Now
yousuf khan is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 07-26-2020 , 19:01   Re: [BB] Revive Text With AdminName
Reply With Quote #3

Quote:
Originally Posted by yousuf khan View Post
It Worked Now
This is code of revive chat
PHP Code:
print_color(0"%s Player^x04 %s^x01 has been^x04 revived^x01 by an^x04 %s"MODNAMEszPlayerNameszAdminName
Supremache 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 15:47.


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