Raised This Month: $ Target: $400
 0% 

number of arguments does not match definition


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
szogun
Senior Member
Join Date: Apr 2016
Old 01-21-2023 , 17:57   number of arguments does not match definition
Reply With Quote #1

Hey, can someone help me correct this

PHP Code:
#include <sourcemod>

public void OnPluginStart()
{
    
RegConsoleCmd("sm_code"Command_Test);
}

public 
Action Command_Test(int clientint args)
{
    
char sBuffer[512];
    
Format(sBuffersizeof(sBuffer), "%s\n "sBuffer);

    
Event eEvent CreateEvent("cs_win_panel_round"true);
    
eEvent.SetString("funfact_token""<b><font color='#ffa500' class='fontSize-xl'>TEXT</font></b> %s\n TEXT TEXT"sBuffer);  
    
eEvent.SetInt("hint_timeout"10); 
    
eEvent.SetInt("userid", -1);
    
eEvent.FireToClient(client);
    
eEvent.Cancel();

HTML Code:
error 092: number of arguments does not match definition
szogun 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 05:22.


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