Quote:
Originally Posted by spancer35
unfortunately doesn't worked
|
Untested:
PHP Code:
#include <sourcemod>
#include <sdktools>
#include <csgocolors>
public Plugin myinfo =
{
name = "Para ver",
author = "Spancer",
version = "1.0",
description = "!para yazan kisinin parasini fuller",
url = "http://blood-clan.net"
}
public void OnPluginStart()
{
RegConsoleCmd("sm_para", paraver);
}
public void OnConfigsExecuted()
{
// Set MaxMoney 60000.
ConVar cMaxMoney = FindConVar("mp_maxmoney");
if (cMaxMoney != null)
cMaxMoney.SetInt(60000);
}
public Action paraver(int client, int args)
{
CPrintToChat(client, "[BLOOD] Paran Fullendi. Iyi oyunlar!");
CPrintToChatAll("[BLOOD] %N !para yazarak parasini fulledi. Sende !para yazarak kendi parani fulleyebilirsin. Iyi oyunlar!", client);
SetEntProp(client, Prop_Send, "m_iAccount", 60000);
}