![]() |
guild gate...
whats wrong with this script???...(apart from being basic :P)
//#CLIENTSIDE if(created){ setstring this.guild,myguild; } if (playertouchesme&&strequals(#g,#s(this.guild))){ set guildon; } if (guildon&&strequals(#c,opengate1)) { hide; dontblock; } if (guildon&&strequals(#c,closegate1)) { show; blockagain; } |
Your setting the string "myguild". Unless your guild name is just that, I'd advise you use #g
|
thats what i used until i found a little NPC database thingy from babylon... where i got this mind boggling stuff :/
when i use that it doesnt work very well though.. when testing i have to hit the npc while saying the words to (eg) open the gate and even then it doesn't work half the time:eek: |
Also, you don't have conditionals inside an event check.
|
Also playertouchesme. But until you conform to KSI-GS, that's all you're getting out of me.
|
Quote:
|
Also there is no need to use set. x.x'
|
Quote:
|
We should at least get 'function onPlayerTouches()' or so.
|
| All times are GMT +2. The time now is 11:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.