Raised This Month: $ Target: $400
 0% 

i cant compile it pls help me


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
byetovice
Senior Member
Join Date: Nov 2009
Location: Turkey
Old 11-11-2009 , 13:46   i cant compile it pls help me
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <hamsandwich>
#include <fakemeta>
#include <fun>
new g_sprite;
#define PLUGIN "center"
#define VERSION "1.0"
#define AUTHOR "author"
 

public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
 
 
register_clcmd("laser_atk","atk_laser")
 
}
public 
plugin_precache()
{
g_sprite "sprites/zbeam3.spr"
}
public 
atk_laser(id)
{
new 
origin[3];
get_user_origin(id,origin,0);
message_beginMSG_BROADCAST,SVC_TEMPENTITY);
write_byte(0);
write_coord(origin[0]);
write_coord(origin[1]);
write_coord(origin[2]);
write_coord(origin[0] + 50);
write_coord(origin[1]);
write_coord(origin[2]);

write_short(g_sprite);
write_byte(1);
write_byte(5);
write_byte(20);
write_byte(30);
write_byte(0);
write_byte(255);
write_byte(0);
write_byte(0);
write_byte(200);
message_end();
}
 
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/ 
error : /home/groups/amxmodx/tmp3/php3ZSSXK.sma(29 -- 30) : error 006: must be assigned to an array

i cant find the problem in code please help me
byetovice 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 13:40.


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