Raised This Month: $ Target: $400
 0% 

Vars......


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 02-03-2010 , 12:09   Vars......
Reply With Quote #1

[Gather] (1) Kill with (umm4a1)
[Gather] (2) Kill with (mm4a1)
[Gather] (3) Kill with (m4a1)
PHP Code:
public list(id)
{
    
Killers(id)
    for (new 
i=1<= Pkills[MKiller]; i++)
    {
       
client_print(id,print_chat,"[Gather] (%d) Kill with (%s)",i,wen[MKiller][i]);
    }
    return 
PLUGIN_CONTINUE    
}



{
         
Pkills[MKiller] += 1;
         
Pdeaths[MVictim] += 1;
         new 
tmp1=Pkills[MKiller];
         
server_print("[Gather] CODE Reached (%s)",weapon_name);
         
copy(wen[MKiller][tmp1],299,weapon_name)
         
server_print("[Gather] Now Kills %d | Deaths %d | Now Kill with gun: %s",Pkills[MKiller],Pdeaths[MKiller],wen[MKiller][Pkills[MKiller]]);
         
client_print(0,print_chat,"[Gather] Now Kills %d | Deaths %d | Now Kill with gun: %s",Pkills[MKiller],Pdeaths[MKiller],wen[MKiller][Pkills[MKiller]]);

Well I have this 2 codes... when i am killling someone is tis appearing normaly:
[Gather] Now Kills 3 | Deaths 0 | Now Kill with gun: m4a

BUT when i am typing .list and call function List with the loop
if example i have 3 guns it will appear in the first gun the first letter of the first gun , the first letter of the second gun and the third gun,
the second gun will have the first letter of the second gun and the third gun
and finaly in the 3rd gun will apear only the third gun, why it is doing this?
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))
ProIcons 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 07:19.


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