Hi , i need help with this eror
PHP Code:
Error: Only a single statement (or expression) can follow each "case" on line 46
SMA
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#include <hamsandwich>
#define PLUGIN "VIP for BaseBuilder"
#define VERSION "1.0"
#define AUTHOR "FanatiK"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /vipshop","vip")
register_clcmd("say /vip","vip")
}
public menu(id)
{
new menu
menu = menu_create("VIP Shop-1st plugin by FanatiK","menu_handle")
menu_additem(menu,"Viac zivota (+200)")
menu_display(id, menu)
}
public menu_handle(id,menu,item)
{
if(item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_HANDLED
}
switch(item)
{
case 0:
{
new hp = get_user_health(id)
new vhp = hp + 100
set_user_health(id, vhp)
}
Thx for any help . I am total beginner in pawn scripting .