AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Dell plez ! (https://forums.alliedmods.net/showthread.php?t=277650)

abdobiskra 01-13-2016 03:21

Dell plez !
 
Hi !

addons_zz 01-13-2016 07:50

Re: Te_beaments
 
Try this:
Code:
        if(iStatus && g_iTeam[id] == iFTeam)// here my case         {             new entid = find_ent_by_class(-1,"base1");             message_begin(MSG_ONE, SVC_TEMPENTITY, _, id) //message begin             write_byte(TE_BEAMENTS)             write_short(id) // start entity             write_short(entid) // end entity             write_short(sprite); //beam model             write_byte(1);             write_byte(1);             write_byte(3); //life             write_byte(70); //width             write_byte(0); //spread             write_byte(0)             write_byte(0)             write_byte(255)             write_byte(255)             write_byte(255)             message_end();         }

See also:
  1. [TUT] Messages (Temp Entities, Game Events, etc.)

abdobiskra 01-14-2016 00:00

Re: Te_beaments
 
addons_zz
i want case 1 + case 2 not all in one ?

All of this related to color

ex:
case 1 : color blue
if case 2 : color white

addons_zz 01-14-2016 05:45

Re: Te_beaments
 
Quote:

Originally Posted by abdobiskra (Post 2383129)
addons_zz
i want case 1 + case 2 not all in one ?

All of this related to color

ex:
case 1 : color blue
if case 2 : color white



Spoiler

Beyond that, read:
  1. [TUT] Messages (Temp Entities, Game Events, etc.)


All times are GMT -4. The time now is 09:20.

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