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

Help / Support ZP 5.0.8 Block Laser


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Andriis
Member
Join Date: May 2019
Old 06-02-2019 , 08:45   ZP 5.0.8 Block Laser
Reply With Quote #1

I made the old 4.3 lasermine plugin to be able to use on zp 5.0 too, it's working without a problem, but I want to block the lasers in swarm, nemesis, assassin, survivor, sniper, armageddon round and before the round starts.. This what I don't know how to make .. I will upload the sma file here, so if someone can help me with it .. Please do it.. Thanks in advance
Attached Files
File Type: sma Get Plugin or Get Source (zp_lasermine_283.sma - 337 views - 43.2 KB)
Andriis is offline
Andriis
Member
Join Date: May 2019
Old 06-02-2019 , 10:06   Re: ZP 5.0.8 Block Laser
Reply With Quote #2

I can use these to block the lasers in the basic round but I can't use the same method to block the lasers in assassin, sniper and armageddon round.. Anyone?

Code:
	if(!zp_has_round_started() && get_pcvar_num(g_NOROUND))
	{
		client_print(id, print_chat, "%L %L", id, "CHATTAG",id, "STR_NOROUND")
		return false;
	}

	if(zp_is_nemesis_round() && get_pcvar_num(g_NEMROUND))
	{
		client_print(id, print_chat, "%L %L", id, "CHATTAG",id, "STR_NEMROUND")
		return false;
	}

	if(zp_is_survivor_round() && get_pcvar_num(g_SURVROUND))
	{
		client_print(id, print_chat, "%L %L", id, "CHATTAG",id, "STR_SURVROUND")
		return false;
	}
	if(zp_is_swarm_round() && get_pcvar_num(g_SWARMROUND))
	{
		client_print(id, print_chat, "%L %L", id, "CHATTAG", id, "STR_SWARMROUND")
		return false;
	}
	if(zp_is_plague_round() && get_pcvar_num(g_PLAGUEROUND))
	{
		client_print(id, print_chat, "%L %L", id, "CHATTAG", id, "STR_PLAGUEROUND")
		return false;
	}
Andriis is offline
Andriis
Member
Join Date: May 2019
Old 06-03-2019 , 10:50   Re: ZP 5.0.8 Block Laser
Reply With Quote #3

solved
Andriis 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 09:11.


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