Raised This Month: $32 Target: $400
 8% 

Suche ein Money Plugin


  
 
 
Thread Tools Display Modes
Author Message
MaestroMichi
Junior Member
Join Date: Mar 2011
Location: Germany
Old 11-01-2012 , 08:36   Suche ein Money Plugin
#1

Hallo zusammen,

Auf einem Server hab ich ein Plugin gesehen, auf dem man in den Chat ein einfaches "/money" schreibt, um 16000$ zubekommen. Seit über 2 Std suche ich nun, aber ich finde nichts.
Kennt dass von euch einer, und könnte mir einen Link geben?

Danke
MaestroMichi is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 11-01-2012 , 11:55   Re: Suche ein Money Plugin
#2

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(id16000);
        
        
client_print(idprint_chat"[AMXX] You got 16000 cash!");
    }
    else
    {
        
client_print(idprint_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.

Last edited by Torge; 11-01-2012 at 11:59.
Torge is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-01-2012 , 12:25   Re: Suche ein Money Plugin
#3

->

PHP Code:
public clcmd_money(id)
{
        
cs_set_user_money(id16000);
        
        
client_print(idprint_chat"[AMXX] You got $16000.");

        return 
PLUGIN_HANDLED;

__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
MaestroMichi
Junior Member
Join Date: Mar 2011
Location: Germany
Old 11-02-2012 , 06:09   Re: Suche ein Money Plugin
#4

Danke schonmal, leider kann ich es nicht compilen ..

"Your plugin failed to compile! (Via the "AMX Mod X 1.8.1" compiler)"

"Could not locate output file money.amx (compile failed)."

Last edited by MaestroMichi; 11-02-2012 at 06:16.
MaestroMichi is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-02-2012 , 12:07   Re: Suche ein Money Plugin
#5

Mach es hier:

http://www.amxmodx.org/webcompiler.cgi
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
MaestroMichi
Junior Member
Join Date: Mar 2011
Location: Germany
Old 11-02-2012 , 12:47   Re: Suche ein Money Plugin
#6

Sorry, aber selbiges wieder .. Funktioniert nicht
Attached Files
File Type: sma Get Plugin or Get Source (money.sma - 115 views - 584 Bytes)
MaestroMichi is offline
Torge
Veteran Member
Join Date: Oct 2011
Old 11-02-2012 , 13:22   Re: Suche ein Money Plugin
#7

Klingt bisschen blöd, hast du einen Compiler auf deinem Server ?
Torge is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 11-02-2012 , 15:12   Re: Suche ein Money Plugin
#8

Du hast einfach nicht den ganzen Code kopiert. Musst noch ein } am Schluss hinzufügen.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
 


Thread Tools
Display Modes

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 23:50.


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