text draw bugs - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: text draw bugs (
/showthread.php?tid=218051)
text draw bugs -
gereter - 29.01.2011
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 !
Re: text draw bugs -
Zh3r0 - 29.01.2011
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 );
}
}
Re: text draw bugs -
gereter - 29.01.2011
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.