Kid_Bandes
C O N T R A
- 24/10/09
- 1,969
- 250
Nhét vào rồi, có thấy gì thay đổi đâu @@
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nhét vào rồi, có thấy gì thay đổi đâu @@
mh3.1 tôi post lên á hay là của kakăn ?
E test mh 3.1 thì nó bị đơ @@... (ko cả hiện được menu.. đơ từ chỗ hiện hình nền)
P/S: Ai biết remove buyzone không... @@ ... register_logevent round begin xong cho remove_entity func_buyzone mà ko được @@
#include <amxmodx>
#include <engine>
public plugin_precache()
{
new Entity = create_entity( "info_map_parameters" );
DispatchKeyValue( Entity, "buying", "3" );
DispatchSpawn( Entity );
}
public plugin_init()
{
register_plugin( "rbz", "1.0", "unknow" );
}
public pfn_keyvalue( Entity )
{
new ClassName[ 20 ], Dummy[ 2 ];
copy_keyvalue( ClassName, charsmax( ClassName ), Dummy, charsmax( Dummy ), Dummy, charsmax( Dummy ) );
if( equal( ClassName, "info_map_parameters" ) )
{
remove_entity( Entity );
return PLUGIN_HANDLED ;
}
return PLUGIN_CONTINUE;
}

public make_custom_shell(ent)
{
static Float:Origin[3], Float:Angles[3]
engfunc(EngFunc_GetAttachment, ent, 0, Origin, Angles) // nếu ra chưa đúng chỗ thì sửa 0 thành 1
make_shell_entity(ent, Origin, Angles)
}
public make_shell_entity(ent, Float:Origin[3], Float:Angles[3])
{
static ent
ent = create_entity....
}
.ghi nhớ id ent lại nếu kiểm tra còn valid thì sài tiếp. khỏi phải create new@teo:
- Khổ ông quá, hd thế nào cũng ko biết làm
(Ảnh: Mỗi 1 cái chấm xanh là 1 attachment, bắt đầu từ số 0. Trong ảnh có 2 cái attachment thì thử là 0 hoặc 1 chứ có gì đâu)
http://i41.photobucket.com/albums/e264/shinigamicuong/123-3.png[/IG]
[PHP]
public make_custom_shell(ent)
{
static Float:Origin[3], Float:Angles[3]
engfunc(EngFunc_GetAttachment, ent, 0, Origin, Angles) // nếu ra chưa đúng chỗ thì sửa 0 thành 1
make_shell_entity(ent, Origin, Angles)
}
public make_shell_entity(ent, Float:Origin[3], Float:Angles[3])
{
static ent
ent = create_entity....
}
[/PHP]
Create xong vài giây sau nhớ remove nó đi, create nhiều mà ko remove là nó crash đấy. Hoặc là tạo sẵn ra =)).ghi nhớ id ent lại nếu kiểm tra còn valid thì sài tiếp. khỏi phải create new[/QUOTE]
[I][COLOR="#0000FF"]Làm cách này cực cực cực lagb-([/COLOR][/I]
[quote="redplane, post: 21350662"]Có ai đọc được các file mdmp của Counter strike không vậy?
[url]http://me.zing.vn/apps/sharefile?params=/download/downloadfile/file/MTAyNyszNDgwMzg2MQ==[/url][/QUOTE]
[QUOTE]Dump file: Steam_2007_01_01_19_45_01_735.mdmp
Break at hw.dll!041edbe7()
Function:[code]041EDB90 sub esp,0A0h
041EDB96 push ebx
041EDB97 mov ebx,dword ptr [esp+0BCh]
041EDB9E push ebp
041EDB9F push edi
041EDBA0 push 38h
041EDBA2 push 0
041EDBA4 push ebx
041EDBA5 call 041465F0
041EDBAA mov ebp,dword ptr [esp+0CCh]
041EDBB1 mov edi,dword ptr [esp+0BCh]
041EDBB8 add esp,0Ch
041EDBBB mov dword ptr [ebx+10h],3F800000h
041EDBC2 mov eax,dword ptr [ebp]
041EDBC5 mov ecx,dword ptr [ebp+4]
041EDBC8 mov dword ptr [ebx+14h],eax
041EDBCB mov eax,dword ptr [edi+134h]
041EDBD1 mov edx,dword ptr [ebp+8]
041EDBD4 mov dword ptr [ebx+18h],ecx
041EDBD7 mov ecx,dword ptr [eax*4+490E510h]
041EDBDE mov dword ptr [ebx],1
041EDBE4 mov dword ptr [ebx+1Ch],edx
[B]041EDBE7 cmp dword ptr [ecx+44h],3 [/B] // Break at here
041EDBEB jne 041EDC16
041EDBED mov ecx,dword ptr [esp+0BCh]
041EDBF4 lea edx,[esp+2Ch]
041EDBF8 lea eax,[esp+68h]
041EDBFC push edx
041EDBFD mov edx,dword ptr [esp+0BCh]
041EDC04 push eax
041EDC05 push ecx
041EDC06 push edx
041EDC07 push edi
041EDC08 call 041A70B0
041EDC0D add esp,14h
041EDC10 mov dword ptr [esp+18h],eax
041EDC14 jmp 041EDC40
041EDC16 mov ecx,dword ptr [esp+0BCh]
041EDC1D mov edx,dword ptr [esp+0B8h]
041EDC24 lea eax,[esp+68h]
041EDC28 push eax
041EDC29 push ecx
041EDC2A push edx
041EDC2B push edi
041EDC2C call 041ECD60
041EDC31 add esp,10h
041EDC34 mov dword ptr [esp+18h],eax
041EDC38 mov dword ptr [esp+2Ch],1
041EDC40 push esi
041EDC41 mov esi,dword ptr [esp+0B8h]
041EDC48 mov eax,dword ptr [edi+18Ch]
041EDC4E fld dword ptr [esi]
041EDC50 fsub dword ptr [esp+6Ch]
041EDC54 cmp eax,4
041EDC57 fstp dword ptr [esp+10h]
041EDC5B fld dword ptr [esi+4]
041EDC5E fsub dword ptr [esp+70h]
041EDC62 fstp dword ptr [esp+14h]
041EDC66 db d9h[/code][/QUOTE]
Ta có cách làm shell ko bị lag^
- Ông lạ quá nhỉ. ông hỏi cách làm, xong tui trả lời. ông lại bảo ông dùng HL Base. Biết rồi còn hỏi làm giề
@Kfl:
- tạo ent nhiều lag chứ giề![]()

Edit cho nó tách riêng ra là xài được tuốtNST_WPN ko sài được cho server đâu, chỉ sài cho mod thôi

Fire sound liên quan gì đến NST_WPNvậy fire sound tính gì..............

