Trumptai drūtai.
Pasirinkus "invisibility" dieną CT tampa nematomi.
Kodo pvz:
case DAY_INVIS: { if(IsPlayer(i) && is_user_alive(i)) { switch(cs_get_user_team(i)) { case CS_TEAM_T: { ........ } case CS_TEAM_CT: { ................... set_entity_visibility (i, 0.0 ...
Search found 227 matches
- 2011 Dec 08 20:45
- Forum: [AMXX] Scripting pagalba
- Topic: set_entity_visibility
- Replies: 12
- Views: 9025
- 2011 Dec 08 20:08
- Forum: [AMXX] Scripting pagalba
- Topic: Tag mismatch
- Replies: 8
- Views: 5998
Re: Tag mismatch
Dėl skliaustų šitas warningas? Kad tarpą padėjau? :DDD
- 2011 Dec 08 18:58
- Forum: [AMXX] Scripting pagalba
- Topic: Tag mismatch
- Replies: 8
- Views: 5998
Tag mismatch
http://img189.imageshack.us/img189/2701/28035562.png
Kodėl šitus warnings rodo?
Code: Select all
public time_is_up(id){ if(cs_get_user_team(id) == CS_TEAM_CT && specialday[20] == DAY_INVIS && is_user_alive(id)) set_entity_visibility ( id, 1.0 ) // Line 243 }
- 2011 Nov 26 22:44
- Forum: Patvirtinti pluginai
- Topic: Turbo :D He Grenades
- Replies: 5
- Views: 29995
Re: Turbo :D He Grenades
Galėtum ir kokį img įmesti, nes labai tingiu testinti 

- 2011 Nov 25 17:55
- Forum: [AMXX] Scripting pagalba
- Topic: While
- Replies: 4
- Views: 2886
Re: While
while ((iWPNidx = find_ent_by_class(iWPNidx, wpn)) != 0) { if (id == entity_get_edict(iWPNidx, EV_ENT_owner)) { cs_set_weapon_ammo(iWPNidx, getMaxClipAmmo(wpnid)); break; } if (ciklas > 10000) { log_to_file("amzinas_ciklas.log", "Pluginas tatata.amxx eilute 555 susidare amzinas ciklas.") break ...
- 2011 Nov 25 15:10
- Forum: [AMXX] Scripting pagalba
- Topic: While
- Replies: 4
- Views: 2886
While
Ar gali dėl kurio nors iš šitų while susidaryti tas "amžinas ciklas"?
1
while((pos <= sizeof(g_Buttons)) && (ent[0] = engfunc(EngFunc_FindEntityByString, ent[0], "classname", "info_player_deathmatch"))){pev(ent[0], pev_origin, origin)while((ent[1] = engfunc(EngFunc_FindEntityInSphere, ent[1 ...
1
while((pos <= sizeof(g_Buttons)) && (ent[0] = engfunc(EngFunc_FindEntityByString, ent[0], "classname", "info_player_deathmatch"))){pev(ent[0], pev_origin, origin)while((ent[1] = engfunc(EngFunc_FindEntityInSphere, ent[1 ...
- 2011 Nov 22 18:28
- Forum: [AMXX] Scripting pagalba
- Topic: Nesibaigenčios kulkos
- Replies: 0
- Views: 1947
Nesibaigenčios kulkos
Kaip duoti ginklą su nesibaigenčiom kulkom, tik, kad užsitaisyt reikėtų?
- 2011 Jul 14 19:52
- Forum: [AMXX] Scripting pagalba
- Topic: 2x exp
- Replies: 7
- Views: 4337
Re: 2x exp
Čia šitam faile ir yra tas xp_give, daugiau kaip jo ir niekur nėra.
stock XP_Give( id, iBonusXP ){ if ( !WC3_Check() || !id ) { return 0; } // Make sure we have the minimum amount of players if ( !XP_MinPlayers() ) { return 0; } // Bonus calculated by: // Bonus XP * (lvl of player/10 + 1.0) // I.E ...
stock XP_Give( id, iBonusXP ){ if ( !WC3_Check() || !id ) { return 0; } // Make sure we have the minimum amount of players if ( !XP_MinPlayers() ) { return 0; } // Bonus calculated by: // Bonus XP * (lvl of player/10 + 1.0) // I.E ...
- 2011 Jul 14 18:32
- Forum: [AMXX] Scripting pagalba
- Topic: 2x exp
- Replies: 7
- Views: 4337
Re: 2x exp
Va visas xp.inl
- 2011 Jul 14 18:05
- Forum: [AMXX] Scripting pagalba
- Topic: 2x exp
- Replies: 7
- Views: 4337
Re: 2x exp
Sakai šitą kažkaip redaguot?
stock XP_Give( id, iBonusXP ){ if ( !WC3_Check() || !id ) { return 0; } // Make sure we have the minimum amount of players if ( !XP_MinPlayers() ) { return 0; } // Bonus calculated by: // Bonus XP * (lvl ...
stock XP_Give( id, iBonusXP ){ if ( !WC3_Check() || !id ) { return 0; } // Make sure we have the minimum amount of players if ( !XP_MinPlayers() ) { return 0; } // Bonus calculated by: // Bonus XP * (lvl ...