Raised This Month: $ Target: $400
 0% 

Help ct win, zombie win


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SpannerSpammer
Member
Join Date: Mar 2006
Old 05-09-2016 , 01:05   Re: Help ct win, zombie win
Reply With Quote #2

You need the indexes that precache_model() returns when it loads your sprites to
plug into each of your your effects.

Code:
new gSprCTWIN;
new gSprTSWIN;

public plugin_precache() 
{ 
    gSprCTWIN = precache_model(ct_win_sprite);
    gSprTSWIN = precache_model(ts_win_sprite);
}

public humans_win_Effects(id)
{
.
.
    write_short( gSprCTWIN );
.
.
}

public zombies_win_Effects(id)
{
.
.
    write_short( gSprTSWIN );
.
.
}
__________________
[NeoTF|DEV]SpannerSpammer-[AoE]-
NeoTF Development Team.
http://steamcommunity.com/groups/neotf
SpannerSpammer is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:41.


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