View Single Post
  #9  
Old 06-20-2012, 07:50 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Stefan View Post
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=0temp.i<10temp.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); 
Reply With Quote