![]() |
player.swordimg with custom swords
I just switched my custom swords from player.attr[3] to player.swordimg and it doesn't work at all.
Setting the swordimg (player.swordimg=...) serverside will do nothing and setting it clientside will only change it for the player, all the others still see sword1.png. Do the swords have to have special names? Right now they're named like "sorna_sword_sword1.png". Is there any other way to do this? |
try player.setSword("swordimg.png", 0); maybe? Serverside.
|
Are you using the V6 beta?
Graphics set Clientside in V6 don't seem to be saved Serverside. |
Quote:
player.setSword("swordimg.png", 0); seems to set player.swordimg to NULL for every string, player.setSword("swordimg.png", 1); works for strings like "sword2.png" or "sword3.png", but not with "sorna_sword_sword1.png". Quote:
|
Add them as swords in folder config.
PHP Code:
|
Quote:
|
| All times are GMT +2. The time now is 09:40 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.