SphereCommunity
Packet 0x72 - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Packet 0x72 (/Thread-Packet-0x72)



Packet 0x72 - Darkyhood - 04-23-2013 04:01 AM

I tried used war mode packet 0x72, but got some problem. When player is alive it's perfect work and i can inject some my functions, but when player is dead i receive nothing.
Maybe when player is dead used other packet?

Someone know how to fix this problem or which packet need to use?


RE: Packet 0x72 - Darkyhood - 04-24-2013 08:29 AM

I found the solution: trigger @UserWarmode


RE: Packet 0x72 - evening - 04-24-2013 02:44 PM

yes
[FUNCTION WAR_MODE_1]
SENDPACKET 072 01 00 32 00

[FUNCTION WAR_MODE_0]
SENDPACKET 072 00 00 32 00


RE: Packet 0x72 - Breaker - 05-03-2013 03:41 PM

//>-< Toggle warmode for player >---------------------------------------------->
//>---------------------------------------------------------------------------->
[FUNCTION WARMODE]
IF (<IsPLAYER>)
FLAGS = <FLAGS> <QVAL (<ARGN>)?|statf_war:^statf_war>
SENDPACKET 072 B<ARGN> 00 32 00
UPDATE
ENDIF

Command .WARMODE X (where X = 1 or 0)