simulation in a string
#1

Hm.. I found the object I was looking for but I have another question

How can I simulation in a string ?

Ex: He.. llo, wher... e you.. fro..?
Reply
#2

Get the map editor, launch it and go to Los Santos Richman. It should be close to the small very small dirt shortcut between two roads on opposite side of the hill where it is standing. Double click the object to see its information.
Reply
#3

Quote:
Originally Posted by Hansrutger
Посмотреть сообщение
Get the map editor, launch it and go to Los Santos Richman. It should be close to the small very small dirt shortcut between two roads on opposite side of the hill where it is standing. Double click the object to see its information.
I found, thanks.

Can you check the thread again?
Reply
#4

Quote:
Originally Posted by DBZdabIt3Bro7
Посмотреть сообщение
PHP код:
static text[144];
// make text say something
strcat(text"Hello from the other side");
for(new 
char 0char strlen(text); char += random(5) + 2) {
   if(
text[char] != ' ') {
      
strins(text".. "char);
   }
}
printf("String is now: \"%s\""text); 
Is that what you wanted?
It works perfect for English language, but for Chinese language it may happens some messy symbols..
Reply
#5

Quote:
Originally Posted by DBZdabIt3Bro7
Посмотреть сообщение
Not sure but that probably has to do with your console's text font or Arial in general, used by SAMP's client messages.
Never heard about this, Could you tell me more?

EDIT: I didn't test it out in the console but in-Game it actually messes up sometimes (also I'm using ProxDetector function that including with another function to having a line feed.)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)