Raised This Month: $ Target: $400
 0% 

[HELP] If Mapname Then Give Wep + Ammo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoldNux
Senior Member
Join Date: Mar 2018
Old 04-22-2018 , 07:04   Re: [HELP] If Mapname Then Give Wep + Ammo
Reply With Quote #1

Quote:
Originally Posted by Relaxing View Post
Code:
new mapnahme[32] new bool: thebool public plugin_init(){     get_mapname(mapnahme, charsmax(mapnahme))     if (equali(mapnahme, "the_mapname")         thebool = true; } public client_death(id){     if (thebool)         server_print("something");     else         server_print("else"); }
Can you understand what I've done here?
If I understood correctly I will need separate bools for each map.
__________________
Try my version of de_dust2, I think it's great and you should check it out!
https://gamebanana.com/mods/83731

Last edited by GoldNux; 04-22-2018 at 07:09.
GoldNux 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 04:44.


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