![]() |
This is what I have found out about database npcs.
A DB NPC (Not Weapon) //#SERVERSIDE Showimg 200 + or 200 - / with .gif format - Doesnt show Showimg 200+ / with .png - Doesnt show Showimg 200- / with .png - Shows to everyone //#CLIENTSIDE Showimg 200+ : Shows to current player not others Showimg 200- : Shows to current player not others A GANI //#SERVERSIDE N/A Because in gani is a clientside operation //#CLIENTSIDE Showimg 200 + or 200 - : Shows to all players as clientside no info to server. A WEAPON //#SERVERSIDE N/A //#CLIENTSIDE Showimg 200+ : Shows to all players Showimg 200- : Shows to client only These show even when vis is set to 4 lolz Im guessing that showani's and showtexts both follow this trend too but im not verifying it this should help alot of people I hope. It also seems that from a weapon you can only 1 showani will show to all players at a time can this be veryfied? Its whats proving correct for me I just want to make sure. IT Also seems that you cant use a showimg in a showani through a weapon so that all players see it MY god thats alot of manipulation. {MY PROBLEM PLZ HELP} One thing bothers me, in a GANI SCRIPT if you use a client.string as one of the variables, such as the color of a showimg, I don't know how to read the client string from the PLAYER THAT IS DISPLAYING THE GANI and not the player SEEING the gani. Any help? Scenario. I have 2 players one has a green apple and one a red Player A has a red apple Player B has a green apple They are both using a gani attached to their current animation with a showimg for the apple . client.applecolor is set to red on player A and green on Player B. In the showimg it uses changeimgcolors to change the color of the apples to client.applecolor. The problem is Player A see's both apples as red and Player B sees both apples as green. HOW DO YOU STOP / Prevent this?? |
Quote:
Quote:
Obviously not - you cannot just read strings from another player, that has never been possible clientside. You will need to put the things you are interested in into the #P(i) attributes. |
Quote:
Quote:
|
I found a solution!! I must tokenize #P3 then set a this.c={#t(0),#t(1)};
in order to use it as a variable, I wish I could use #I() with it but thats not possible as it reads #P3 dynamicaly so if #P3 was 343 it would try and find the string named #P3 unless there is another way. |
Sorry, I do not know.
|
Quote:
thanks for the help ;) |
Cant show big pics.
I tried showing light2.png and it didnt work , is that the problem? Just use showani and put the gif in the gani, its alittle bit more work but atleast it works .. |
All times are GMT +2. The time now is 12:52 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.