text draw bugs
#1

hi everyone,

I have problems with text draw.
when I use it all is ok but after a restart (gmx) the textdraw disappear.
I changed gamemode with no textdraws i removed all filterscripts in serve.cfg but it s still the same ...
What is doing that bug then ... Long time I try solve that ...

It will be very cool to help me.

Thanks to all for helping !
Reply
#2

Put this on OnGameModeInit

pawn Код:
for ( new i = 0; i < MAX_PLAYERS; ++i )
{
    if ( IsPlayerConnected( i ) )
    {
         TextDrawShowForPlayer( i, td1 );
         TextDrawShowForPlayer( i, td2 );
         TextDrawShowForPlayer( i, td3 );
    }  
}
Reply
#3

Ok thanks for answered

I use a filterscript with text draw should i put in under OnFilterScriptInit?

Edit: I added in a FS under OnFilterScriptInit I have 2 errors:

error 035: argument type mismatch (argument 2)
error 035: argument type mismatch (argument 2)

If I add it at the same FS unde OnGameModeInit I have the same errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)