![]() |
Its probably easy but...
Its probably easy, but im trying to make my first script, and im lost on this part.
horses[index].bushes See, im making an NPC where the horse is layed at my x and y im out when i fire the weapon, i just want it to where it'll have eaten 5 bushs and it times out every 4 seconds. this is what the script is so far, just fill me in please // NPC made by X-Mann if (created) { } if (playertouchsme) {toweapons Horse Whisper } if (isweapon) {} if (weaponfired) {puthorse ride.png, playerx, playery} |
try:
for (i=0;i<horsescount;i++) { horses[i].bushes==5; } then have it do the opposite after 4 seconds... i could be wrong though *sigh* |
(X)
Na, that one didnt work. |
horses[index].bushes is read only offline. Maybe it's one of those things that works on the NPC server, but offline, you CANNOT set horses[index].bushes: you can only check its value.
|
Quote:
|
| All times are GMT +2. The time now is 06:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.