Raised This Month: $ Target: $400
 0% 

[SOLVED] C4, Hostages and Freezing player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GalegO
Member
Join Date: May 2010
Location: Brazil
Old 09-19-2011 , 21:37   [SOLVED] C4, Hostages and Freezing player
Reply With Quote #1

Hi guys, I have 2 questions:

How can I remove the C4 and the hostages of the map?

and

How can I freeze only 1 player by ID?

thanks!
__________________
Sou brasileiro e não desisto NUNCA!
I'm Brazilian and NEVER give up!

Loucademia de CZ (lcz # GalegO)
CZ CrazyAcademy
189.1.164.85:27017


Last edited by GalegO; 09-22-2011 at 19:46.
GalegO is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 21:47   Re: C4, Hostages and Freezing player
Reply With Quote #2

if you want them to be able to shoot use bugsys code
https://forums.alliedmods.net/showpo...4&postcount=16

if not use FL_FROZEN flag.
Doc-Holiday is offline
GalegO
Member
Join Date: May 2010
Location: Brazil
Old 09-19-2011 , 23:22   Re: C4, Hostages and Freezing player
Reply With Quote #3

Quote:
Originally Posted by GalegO View Post
Hi guys, I have 2 questions:

How can I remove the C4 and the hostages of the map?
I do It... I don't need more...

but, I don't understand how to use this FL_FROZEN flag...

Here what I want:

When a player spawn, he stay freezed for some seconds, and have god mod
__________________
Sou brasileiro e não desisto NUNCA!
I'm Brazilian and NEVER give up!

Loucademia de CZ (lcz # GalegO)
CZ CrazyAcademy
189.1.164.85:27017

GalegO is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-19-2011 , 23:27   Re: C4, Hostages and Freezing player
Reply With Quote #4

lol search its out there

PHP Code:
// How to freeze:
set_pev(idpev_flags, (pev(idpev_flags) | FL_FROZEN));

// How to unfreeze:
set_pev(idpev_flags, (pev(idpev_flags) & ~FL_FROZEN)); 
</span></span>
Doc-Holiday is offline
GalegO
Member
Join Date: May 2010
Location: Brazil
Old 09-22-2011 , 19:45   Re: C4, Hostages and Freezing player
Reply With Quote #5

Sorry for delay...

Thank you

I see this 2 commands, but I'm not sure if are correct to use
__________________
Sou brasileiro e não desisto NUNCA!
I'm Brazilian and NEVER give up!

Loucademia de CZ (lcz # GalegO)
CZ CrazyAcademy
189.1.164.85:27017

GalegO 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 19:31.


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