War jetzt zu faul um danach zu suchen:
PHP Code:
#include <amxmodx>
#include <cstrike>
#define VERSION "0.1"
public plugin_init()
{
register_plugin("Money", VERSION, "Justin");
register_clcmd("say /money", "clcmd_money");
}
public clcmd_money(id)
{
if (is_user_alive(id))
{
cs_set_user_money(id, 16000);
client_print(id, print_chat, "[AMXX] You got 16000 cash!");
}
else
{
client_print(id, print_chat, "[AMXX] You need to be alive to execute this command.");
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}
Wenn du's in deutsch willst, sag bescheid.