[rep+] conflicting textdraws :( please help
#1

hey guys,

so i have a lot of td's in my server like couple of 5 for telling how to speedboost etc. and a speedo and a randommessages td.
but now when i do a GMX then when player connects again then the 5 textdraws with speedboost etc are gone and the random msgs are standing there but they should be under the minimap... and the speedo is also gone for a half piece...

but when i do console restart then it works.. but i want to can use gmx also... can pls someone tell me HOW to fix this stupid annoying bugg?

greets niels
Reply
#2

make sure when the game mode ends, that all textdraws are destroyed.
Reply
#3

Yes, you sure you destroy or hide each 5 of them?
Reply
#4

yep all the 5 are hided AND destroyed
pawn Код:
public OnGameModeExit()
{
    TextDrawHideForAll(Capstext);
    TextDrawDestroy(Capstext);
    TextDrawHideForAll(Wtext);
    TextDrawDestroy(Wtext);
    TextDrawHideForAll(cartext);
    TextDrawDestroy(cartext);
    TextDrawHideForAll(tcartext);
    TextDrawDestroy(tcartext);
    TextDrawHideForAll(fliptext);
    TextDrawDestroy(fliptext);
    TextDrawHideForAll(sptext);
    TextDrawDestroy(sptext);
    TextDrawHideForAll(jumptext);
    TextDrawDestroy(jumptext);
    TextDrawHideForAll(vtext);
    TextDrawDestroy(vtext);
    return 1;
}
and about the speedo and randommsg that ones are in FS so i think they also willk get destroyed...
Reply
#5

any other one knows how to fix this?
Reply
#6

try putting the destroys under OnPlayerDisconnect?
Reply
#7

hmm ok i'll try it

EDIT: nopes doesnt works
Reply
#8

anyone? pls
Reply
#9

Hmm, take a look at this topic here:

https://sampforum.blast.hk/showthread.php?tid=314350
Reply
#10

hmm yeah thnx wait i edited it now and now testing wait sec if it works you get REP+ and lots of thnx DDDD

EDIT: hmm yeah it is working.. though my speedo and random msgs are still not working correctly you get REP+ it worked but i didnt changed it on other yet so thnx!!

hmm somehow i cant give you rep anyways THNX ALOT!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)