Strins
#1

pawn Код:
public OnGameModeInit()
{
    new string[2][128];
    strcat(string[0],"This is ",128);
    strcat(string[1],"me you",128);
    strins(string[0],string[1],strlen(string[0]),2);
    print(string[0]);
    return 1;
}
Код:
[17:39:01] This is me you
It should be "This is me" as I put 2 in the max input string (me).

Eh?
Don't say "use strcat instead strins".
Reply


Messages In This Thread
Strins - by =WoR=Varth - 09.09.2011, 10:41
Re: Strins - by Davz*|*Criss - 09.09.2011, 10:46
Re: Strins - by =WoR=Varth - 09.09.2011, 10:52
Re: Strins - by MadeMan - 09.09.2011, 12:44
Re: Strins - by =WoR=Varth - 09.09.2011, 12:48
Re: Strins - by =WoR=Varth - 13.09.2011, 12:23

Forum Jump:


Users browsing this thread: 1 Guest(s)