Author Topic: Script- Admin Horse.  (Read 556 times)

I find it cool to be a horse in servers. So, I want somebody to make me a script where if you type in /AdminHorse(Playername), then you turn into a horse.

Can somebody please make one for me?

Code: [Select]
function servercmdadminhorse(%client, %name)
{
if(!%client.isadmin)
return;

if(!isobject(%player = findclientbyname(%name).player))
{
%client.chatmessage("Invalid client name or client does not control a player.");
return;
}

%player.changeDatablock(HorseArmor);
}
That should do it.

Either package it into an add-on and enable it, or eval it into the game.

but, why not spawn a horse and mount to it...
horse in a box (Airforce Of Turkey)

but all you need to do is do some eventing and you have it, all you need to do is change datablock -- wouldnt you want some special horse things, like a horse with jets or something?