| Blockland Forums > Suggestions & Requests |
| Script- Admin Horse. |
| (1/1) |
| BlockoBlocko:
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? |
| Pecon:
--- Code: ---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); } --- End code --- That should do it. Either package it into an add-on and enable it, or eval it into the game. |
| MARBLE MAN:
but, why not spawn a horse and mount to it... horse in a box (Airforce Of Turkey) |
| Muslim:
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? |
| Navigation |
| Message Index |