SA-MP Forums Archive
Game text dosen't show up? - 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: Game text dosen't show up? (/showthread.php?tid=130528)



Game text dosen't show up? - Naxix - 27.02.2010

Hello there!

I've tried to script a checkpoint, and when you enter it, it should text to all the players, and than get disable.

Код:
  new name[ 24 ], string[ 64 ];
  GetPlayerName( playerid, name, 24 );

  format( string, sizeof(string), "~y~      Text here!    ", name );
  format( string, sizeof(string), "~y~      Text Here     ", name );
  format( string, sizeof(string), "~y~     Text here!    ", name );
  GameTextForAll( string, 5000, 3 );

  DisablePlayerCheckpoint(playerid);
If you can see something that's wrong, please tell me (:

-Naxix


Re: Game text dosen't show up? - notime - 27.02.2010

look at your string
you dont have a "%s"