![]() |
Help
ok i need help but how do u make it like if u say to the npc follow me and it has to be the owner's account and if its not make it stay there
|
if (playerchats&&strequals(#c,follow) {
if (strequals(#a,#s(this.owner)) { omgactions; } } or something :\ |
but u forgot follow player
else{} |
followplayer i thought only works offline
|
ok
i had problems with merlins script heres the new one if (playersays(show owner))message Owner #a; if (playerchats&&strequals(#c,follow)) { if (strequals(#a,#s(this.owner))){ followplayer; } else{} } |
Quote:
the script i made was setting you up you would need to make a basic set up like if (created) { attributes here; setstring this.owner,none; } if (playertouchsme) { if (strequals(#s,this.owner(none)) { setstring this.owner,#a; } } then like if (playerchats&&strequals(#c,follow)) { if (strequals(#s,this.owner(#a)) { actions here; } } that's just a basic outline thing, i can tell there will be errors since i made it just now without testing |
All times are GMT +2. The time now is 08:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.