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:34   Re: My first scripted plugin help please pawn c++
Reply With Quote #8

Here is my new plugin but i got a error now from Xanimos plugin bit on line 13 witch is
Code:
test.sma<13> :  initialization data exceeds declared size
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[4] = {0,1,2,3,4,5// line 13
//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);

And on the clients screen in center it willl say lottery number 3 or 2 or 5 every random minutes like it could say it in 5 mins or 1 mins or 10 mins max is 15 mins

Last edited by slypanther; 01-12-2008 at 14:40.
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