Raised This Month: $ Target: $400
 0% 

i need help with this.. :(


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 06-19-2006 , 15:09   i need help with this.. :(
Reply With Quote #1

hi,
could some one tell me wuts wrong with this?
it doesn't work
Code:
public FireInTheHole(id){     if(hastrail[id] == true)                return PLUGIN_CONTINUE     new id = read_data(1)     set_task(0.1, "grenid", id)     return PLUGIN_HANDLED } public grenid(id){     new string[32], hegrenid = 0, smokeid = 0, flashid = 0     do{         hegrenid = get_grenade_id(id, string, 31, hegrenid)     }     while (hegrenid && hasHENADE[id] == true)             if (hegrenid && hasHENADE[id] == true){         message_begin( MSG_BROADCAST, SVC_TEMPENTITY )         write_byte( TE_BEAMFOLLOW )         write_short(hegrenid)    // entity         write_short(sprite)    // model         write_byte( 10 ) // life         write_byte( 5 )  // width         write_byte( 255 )    // r, g, b         write_byte( 0 )    // r, g, b         write_byte( 0 )    // r, g, b         switch (random_num(0,2)){             case 0:             write_byte( 64 )    // brightness             case 1:             write_byte( 128 )    // brightness             case 2:             write_byte( 192 )    // brightness         }         message_end()  // move PHS/PVS data sending into here (SEND_ALL, SEND_PVS, SEND_PHS)     }         do{         smokeid = get_grenade_id(id, string, 31, smokeid)     }     while (smokeid && hasSMOKENADE[id] == true)             if (smokeid && hasSMOKENADE[id] == true){         message_begin( MSG_BROADCAST, SVC_TEMPENTITY )         write_byte( TE_BEAMFOLLOW )         write_short(smokeid)    // entity         write_short(sprite)    // model         write_byte( 10 ) // life         write_byte( 5 )  // width         write_byte( 0 )    // r, g, b         write_byte( 255 )    // r, g, b         write_byte( 0 )    // r, g, b         switch (random_num(0,2)){             case 0:             write_byte( 64 )    // brightness             case 1:             write_byte( 128 )    // brightness             case 2:             write_byte( 192 )    // brightness         }         message_end()  // move PHS/PVS data sending into here (SEND_ALL, SEND_PVS, SEND_PHS)     }         do{         flashid = get_grenade_id(id, string, 31, flashid)     }     while (flashid && hasFLASHNADE[id] == true)             if (flashid && hasFLASHNADE[id] == true){         message_begin( MSG_BROADCAST, SVC_TEMPENTITY )         write_byte( TE_BEAMFOLLOW )         write_short(flashid)    // entity         write_short(sprite)    // model         write_byte( 10 ) // life         write_byte( 5 )  // width         write_byte( 255 )    // r, g, b         write_byte( 255 )    // r, g, b         write_byte( 255 )    // r, g, b         switch (random_num(0,2)){             case 0:             write_byte( 64 )    // brightness             case 1:             write_byte( 128 )    // brightness             case 2:             write_byte( 192 )    // brightness         }         message_end()  // move PHS/PVS data sending into here (SEND_ALL, SEND_PVS, SEND_PHS)     } }
i have another fireinthehall but it's diffrent, it might be cuz of it i dunno
Code:
public fire_in_the_hole(param[])

k007
k007 is offline
Send a message via MSN to k007
 



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 07:58.


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