![]() |
Getting Account if Displaying Client(Ganiscript)?
Hi,
so a gani shows a text at the players position, the gani is attached with player.attr[] now player.nick / player.account reads for the displaying/attached player so for player A and player B it shows AccountA at playerA and AccountB at PlayerB playerA has client.meh=1 playerB has client.meh=3 when displaying client.meh as text: now for playerA it displays 1 at playerA and playerB for playerB it displays 3 at playerA and playerB so question: how do i get the nick of the displaying client? so for player A it should show AccountA at playerA and playerB for playerB it should show AccountB at playerA and playerB i tried playero. didnt work(yeah i know i could use clientr./client. var but is there any other way)? |
use player.attrs for those too, not only the gani :O
|
Can you do a findplayer(attr of the gani) or something like that? (i'm pretty clueless about ganis).
|
You will have to use player attributes for it to work, trust me - I'm somewhat of a gani script expert.
Just set (for example) player.attr[20] to clientr.mystringname and read player.attr[20] instead of the string in the gani script. Check http://forums.graalonline.com/forums...ad.php?t=72413 if you want to learn more about gani scripts and how to use arrays in attributes. |
| All times are GMT +2. The time now is 05:57 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.