connect vip
I wrote a plugin to do this when they connect VIP.
After a compilation error but
What do I do?
Please tell us If you know
Code:
set_hudmessage(0, 255, 0, -1.0, 0.40, 0, 6.0, 6.0, 0.1, 0.1, 1)
show_hudmessage(0,"Server Joined VIP")
client_cmd(0, "speak vip_connect/vip.wav")
Code:
// C:/addons/amxmodx/scripting/vip_connect.sma(21) : error 001: expected token: ")", but found "{"
Code:
#include <amxmodx>
#include <cstrike>
public plugin_init()
{
register_plugin("PLUGIN", "PLUGIN", "AUTHOR")
}
public plugin_precache()
{
precache_sound("vip_connect/vip.wav")
}
public client_connect(id)
{
new players[32],inum
get_players(players,inum)
for(new x=0; x <= inum; x++)
{
if(cs_get_user_vip(players[x])
{
set_hudmessage(0, 255, 0, -1.0, 0.40, 0, 6.0, 6.0, 0.1, 0.1, 1)
show_hudmessage(0,"Server Joined VIP")
client_cmd(0, "speak vip_connect/vip.wav")
}
}
}
Please tell us If you know
Orignal From: connect vip
Post a Comment