Quote:
Originally Posted by Stefan
On gmaps the horses don't work, but we were emulation horses by directly putting the player on a horse:
Add:
PHP Code:
player.horseimg = "ride.png";
Remove:
PHP Code:
takeplayerhorse(); // Remove the spawned horse for (temp.i=0; temp.i<10; temp.i++) player.level.removehorse(temp.i);
|
I don't think 'takeplayerhorse();' spawns a horse within the level, I would assume the manual spawned horse removal is intended for when a player dies.
There's also still the variable 'horsescount', so it's better to do:
PHP Code:
player.level.removehorse(horsescount - 1);