Code:
if(!cmd_access(id,level,cid,5))
return PLUGIN_HANDLED
change to
Code:
if(!cmd_access(id,level,cid,8))
return PLUGIN_HANDLED
should work. Because you were putting 0 in for
Code:
write_byte( brightness ) //Brightness
write_byte( life ) //Life
write_byte( decayrate ) //Decay Rate
thus causing ur server to go "brightness 0? life 0? decayrate 0? WTF?! IM SO CONFUSED!"