Thread: [Solved] Undefined symbol "id"
View Single Post
instinctpt1
Senior Member
Join Date: Dec 2016
Location: Chandigarh, India
Old 06-24-2018 , 06:33   Re: Undefined symbol "id"
Reply With Quote #10

PHP Code:
// INCLUDE Amxmodx and amxmisc here

public plugin_init()
{
   
// register plugin here
   
register_clcmd("say /apravila""apravila_motd"ADMIN_CHAT )
}

public 
apravila_motd(id,lvl,cid)
{
   if(!
cmd_access(id,lvl,cid,0) return PLUGIN_HANDLED
   
   
// do your thing now
   

Wrote on phone sorry... Figure it out yourself
instinctpt1 is offline