![]() |
ganicheck&teamhelp
I've got a anyoning problem.
I wanna have a script like this: if (player.ani == "swim.gani") {hide;} I've tryed a LOT to fix this but nothing worked, someone can help me? I've also got a problem with making a team, like if (playertouchsme) {player.guild == "Blue Team"} ive got NO idea so I just wrote this someone can help? |
Quote:
Secondly, you're mixing GS1 with GS2. A big no no. Thirdly, I think setting player.guild is serverside only, in my experience. Plus, == is a comparison operator. You probably want to do player.guild = "Blue Team" I could help you better if you detailed your exact problem and posted the full code. |
where I mixed GS1 and 2?
player.guild "Blue Team" NO :( I could help you better if you detailed your exact problem and posted the full code. thats all I got... I never got teached by someone how to write those LOOONG scripts I actually didnt get teached by anyone |
Quote:
|
Quote:
PHP Code:
Quote:
|
Quote:
PHP Code:
|
Quote:
|
COOL! ^^^thanks, now ill try to make all my scripts like this.
nows just the other problem with water but THANKS ANYWAY u helped me a lot |
PHP Code:
|
Huy!
Thanks! |
umm...
a last question is there a list where I can find many function on... commands listed? |
Quote:
if (playerenters) { ... } > function onPlayerEnters() { ... } if (timeout) { ... } > function onTimeOut() { ... } if (created) { ... } > function onCreated() { ... } Etcetera. |
if (carriesvase) { ... } > function onCarriesVase?
if (carriessign) { ... } > function onCarriessign? ? |
Quote:
|
kk :)
thanks |
//#CLIENTSIDE
function onCreated() { setImg("block.png"); setTimer(.05); } function onTimeOut() { if (player.ani == "swim") hide; if (visible) setTimer(.05); } lol, now its broken |
Define broken.
|
not working anymore
as I added this script into a NPC and touched water, he hided I dont know what I did, but as I tryed again, nothing |
Quote:
PHP Code:
|
YAA
thanks! |
Quote:
|
Quote:
btw it's your script ;) |
Quote:
|
that hide/show doesnt matter
I am going to change it into setlevel2 ... its planned for potrace. |
Quote:
|
| All times are GMT +2. The time now is 06:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.