okay, now i gots this, still doesnt work:
PHP Code:
function onCreated(){
setimg( "beer.png");
setshape(1, 32, 32);
}
function onActionTrigger() {
destroy();
}
//#CLIENTSIDE
function onPlayerTouchsme(){
setimg( "beer.png");
setshape( 1, 32, 32);
player.hearts += 5;
player.bombs += 5;
player.darts += 5;
triggeraction(this.x + .5, this.y + .5, "Trigger");
}