SA-MP Forums Archive
why doesnt it work? - 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: why doesnt it work? (/showthread.php?tid=175700)



why doesnt it work? - thomas.. - 10.09.2010

ok, so when someone types a command, a load of text should show, but it doesnt.

here it is

pawn Код:
new name[ 24 ], string[ 64 ];
            GetPlayerName( playerid, name, 24 );
            format( string, sizeof(string), "~r~%s is gunna piss you off!", name ),
            GameTextForAll( string, 5000, 6 );
            format( string, sizeof(string), "~w~NUKE INCOMING! FLEE THE PRISON!", name );
            GameTextForAll( string, 1000, 6 );
            format( string, sizeof(string), "~y~NUKE INCOMING! FLEE THE PRISON!", name );
            GameTextForAll( string, 1000, 6 );
            format( string, sizeof(string), "~b~NUKE INCOMING! FLEE THE PRISON!", name );
            GameTextForAll( string, 1000, 6 );
            format( string, sizeof(string), "~r~NUKE INCOMING! FLEE THE PRISON!", name );
            GameTextForAll( string, 1000, 6 );
            format( string, sizeof(string), "~o~NUKE INCOMING! FLEE THE PRISON!", name );
            GameTextForAll( string, 1000, 6 );



Re: why doesnt it work? - miokie - 10.09.2010

You're calling all the GameTexts at once, Create a timer to space them apart.
(Look at this tutorial of a countdown and create something with a simular base.)
https://sampforum.blast.hk/showthread.php?tid=169023


Re: why doesnt it work? - thomas.. - 10.09.2010

thanks!!


This forum requires that you wait 120 seconds between posts. Please try again in 1 seconds.


WTF!