![]() |
spar script.
This code had been working fine for months, and now it just up and stopped working. nothing has been changed whatsoever as far as i know. any ideas?
PHP Code:
|
lol that's GScript for ya.
Could you be more specific? Side note: You should probably make functions for joining, leaving, ending to trim off the fat in playerchats. Also commenting your code doesn't hurt either. |
Sorry, I meant to say its not showing the line. Ive tried this.chat and message(), doesnt do anything. Used to last I checked though... kind of weird.
|
Quote:
PHP Code:
PHP Code:
For the sake of the future scripts on your server, I'd recommend having all enablefeatures/showstats get done in a weapon-script system, so you can actually keep track of it before it's too late. |
Wouldn't NPC chat be disabled if text is disabled via the 0x80 feature?
|
It should just be player chat, being the player vs player, and player streak is showing up fine.
Also, it may not be loading for me properly, b/c sometimes gmaps take like a day to load for me for some reason on here, but its still not working. |
I've just tested it, the feature does also hide NPC chat aswell as players, and by the looks of the script is being used regardless of whether the player is sparring or not.
If your intention was for chat to only be disabled while you are sparring you should only be including the - 0x80 part here - PHP Code:
|
well we have a custom chat sys, so its not just for the spar, ill have to put it in a wep, no biggie.
thanks for the test, and the advice. :) |
Quote:
|
That doesnt always work. its weird, gmaps just take like a day to load, and its not just for me. I dunno why. tried the rc /updatelevel. no biggie tho.
|
All times are GMT +2. The time now is 08:30 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.