How to create a long dialog
#4

Quote:
Originally Posted by ChandraLouis
Посмотреть сообщение
Thank you for the reply.
I have created a command with the tutorials.
But, still, it doesn't show all of the texts that i create.

IMAGE

Here is the code:
pawn Код:
// CODE
    new pDialog[512];
// CODE
@Preamble
This method isn't good because each time you call the command you recreate the string
If you use strcat at least do it in OnGameModeInit and store the string globally
The better method would be to do it without strcat

@Your problem
Increase the size of your array "pDialog" to fit the string
Reply


Messages In This Thread
How to create a long dialog - by ChandraLouis - 11.07.2015, 08:25
Re: How to create a long dialog - by ExcLus - 11.07.2015, 08:45
Re: How to create a long dialog - by ChandraLouis - 11.07.2015, 09:48
AW: Re: How to create a long dialog - by Nero_3D - 11.07.2015, 10:19
Re : How to create a long dialog - by KillerDVX - 11.07.2015, 12:08

Forum Jump:


Users browsing this thread: 1 Guest(s)