Raised This Month: $ Target: $400
 0% 

My first scripted plugin help please pawn c++


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
slypanther
BANNED
Join Date: Jan 2008
Old 01-12-2008 , 14:52   Re: My first scripted plugin help please pawn c++
Reply With Quote #10

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New to scripting"
#define VERSION "1.0"
#define AUTHOR "AMX_ERR_BOUNDS"


//new Float:a=4.1
//new bool:a=true
new Lottery[6] = {0,1,2,3,4,5}
//new Float:Numbers[4] = {0.1,0.2,0.3,0.4,0.5}

public plugin_init() {
    
register_pluginPLUGINVERSIONAUTHOR );
}
//client_print(0,print_chat,"%s Random numbers %n %d",Name,Authid);
public client_putinserverid )
{
    new 
Authid[35],Name[32];
    
get_user_authididAuthid,34 );
    
get_user_nameidName31 );
    
    
client_print(0print_chat,"Name: %s | Authid: %s"NameAuthid );
    
client_print(0,print_chat,"%s Random numbers %n %d",Lottery,random(6));

ok but now it has
PHP Code:
stack/heap size  16384 bytes;estimated max usage=799 cells <3116 bytes
I guess thats bad because on over plugins it dont say that and is my code right it compiles fine
slypanther 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 20:20.


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