YINI reading strings one by one.
#1

If I have file like this:
PHP код:
LINE1
LINE2
LINE3
LINE4
LINE5 
How to code to load for example LINE 2 to format that as STRING 1, and I will put that in textdraw, after that to load for example now LINE 5 to format like STRING 2 and also put in another textdraw.


It is possible?
Reply
#2

Anybody?
Reply
#3

why dont you use INI_String and INI_WriteString functions?
Reply
#4

Explain me how to do like that? Example?
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=175565
look for it in this
you can use ****** to see various login/register system using it
Reply
#6

Can you please show me some example how to do, I really dont understand ***** text.

I want to create file with string in it, and after to load that string in SendClientMessage, format and everything else.

PHP код:
CMD:setstring(playeridparams[])
{
    new 
INI:ini INI_Open("haha.ini");
    
INI_WriteString(ini"1:""SOMETHING");
    
INI_Close(ini);
}
CMD:teststring(playeridparams[])
{
    new 
INI:ini INI_Open("haha.ini");
    
INI_String("1:"test50);
    
INI_Load("haha.ini");
    
// I dont know how to format string which I created and put it in SendClientMessage
    
return 0;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)