strcpy
#1

Hello!

I need strcpy where I just put to params and it will put string into dest string.
Reply
#2

For example (playerid, params) here.
Reply
#3

strcpy(dest,string);
Reply
#4

It's not defined by default, you've to include it as a custom function.
pawn Код:
stock strcpy(dest[], src[], size = sizeof(dest))
{
    dest[0] = EOS;
    return strcat(dest, src, size);
}
Where dest is the destination where you've to copy the src (source, to be copied).

NOTE : Next time request scripting support at 'Scripting Help' board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)