Location: PHPKode > scripts > RPG Ajax Creator > index.php
<?php
session_start ();
require_once ('global/inc.main.php');

$hero = new owarrior ('char2.gif', array ('attaque' => 10, 'defense' => 2, 'pv' => 20, 'init' => 1000));

$_SESSION['hero'] = serialize ($hero);

header ('Location: map.php');
?>
Return current item: RPG Ajax Creator