thx.. made it serverside..
BUT
PHP Code:
public function drawLeap(_type, positionx, positiony) {
echo("LOL");
putleaps(_type, positionx, positiony);
}
doesnt work on the clientside OR the serverside because putleaps is clientside
echo appears though..