Raised This Month: $ Target: $400
 0% 

public needsub(id) [SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ProIcons
Senior Member
Join Date: Jan 2009
Location: Greece - Salonica
Old 02-04-2010 , 03:24   public needsub(id) [SOLVED]
Reply With Quote #1

PHP Code:
public needsub(id)
{
    new 
admin[32],map[32],cmd[300]
    
get_mapname (map,31)
    
copy(cmd,299,"");
    
get_cvar_string("admin",admin,31)
    new 
team1 get_cvar_num("Team1-Wins")
    new 
team2 get_cvar_num("Team2-Wins")
    new 
half get_cvar_num("half")
    
format(cmd,299,"NEEDSUB %s %s %s %s %s",map,team1,team2,admin,half)
    
client_print(0,print_chat,"[Gather] Format of CMD is %s",cmd);
    
socket_send(bothost,cmd,512)

I have this code and when i am pressing .needsub it appears on cleint_print:
Quote:
Originally Posted by Server
[Gather] Format of CMD is NEEDSUB de_inferno NEEDSUB de_inferno NEEDSUB de_inferno NEEDSUB de_inferno GaMeMaStEr
Why that?
__________________
function rb return $regsubex($$1-,/(.)/g,$+($chr(2) $+ $chr(3),$r(2,15),$chr(2),\1))

Last edited by ProIcons; 02-04-2010 at 03:28. Reason: [SOLVED]
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:17.


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