AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED] C4, Hostages and Freezing player (https://forums.alliedmods.net/showthread.php?t=167769)

GalegO 09-19-2011 21:37

[SOLVED] C4, Hostages and Freezing player
 
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!

Doc-Holiday 09-19-2011 21:47

Re: C4, Hostages and Freezing player
 
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.

GalegO 09-19-2011 23:22

Re: C4, Hostages and Freezing player
 
Quote:

Originally Posted by GalegO (Post 1559144)
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

Doc-Holiday 09-19-2011 23:27

Re: C4, Hostages and Freezing player
 
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>

GalegO 09-22-2011 19:45

Re: C4, Hostages and Freezing player
 
Sorry for delay...

Thank you :D

I see this 2 commands, but I'm not sure if are correct to use :)


All times are GMT -4. The time now is 19:31.

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