PHP Code:
public void OnPluginStart()
{
RegConsoleCmd("sm_c", Commend_Cash);
RegConsoleCmd("sm_cash", Commend_Cash);
}
public Action Commend_Cash(int client, int args)
{
PrintToChat(client, " \x04[SM]\x01 You Have \x04%d\x01 cash", 50); //example
}
when i write /cash
it's print my cash twice.. anyone know why?
Sloved:
I had two scripts of this in my server