
When i compile None Errors..
but when i enter the game.. i have this error:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
new const PLUGIN[] = "[X]"
new const AUTHOR[] = "eMDX;3"
new const VERSION[] = "0.0.1"
public plugin_precache() {
precache_model("models/arctic.mdl")
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /cam", "camera")
register_clcmd("say /status", "status")
register_clcmd("say /vip", "gurillaCMD")
register_clcmd("say /uncam", "EndCamera")
}
public camera(id)
{
if(is_user_alive(id) && is_user_admin(id))
{
set_view(id, CAMERA_3RDPERSON)
ColorChat(id, "You have 3RD Camera activated.")
}
}
public EndCamera(id)
{
if(is_user_alive(id))
{
set_view(id, CAMERA_NONE)
ColorChat(id, "3RD Camera is now disabled!")
}
}
public Vip(id){
if(is_user_alive(id)&& CS_TEAM_T)
{
cs_set_user_model(id,"artic")
}
}
stock ColorChat(const id, const string[], {Float, Sql, Resul,_}:...) {
new msg[191], players[32], count = 1
static len
len = formatex(msg, charsmax(msg), "^x04[^x03%s^x04]^x01 ", PLUGIN)
vformat(msg[len], charsmax(msg) - len, string, 3)
if(id)
players[0] = id
else
get_players(players,count,"ch")
for (new i = 0; i < count; i++) {
if(is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"),_, players[i])
write_byte(players[i])
write_string(msg)
message_end()
}
}
}
PHP Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Header size: 580 bytes
Code size: 1812 bytes
Data size: 812 bytes
Stack/heap size: 16384 bytes; estimated max. usage=779 cells (3116 bytes)
Total requirements: 19588 bytes
Done.
Here.