Can't figure out how to use strmid properly.
#3

That is because you are telling the function to end writing at index 0 (as strlen(dest) will return 0, as it hasn't been initialized). You want to write the string length of src instead.

https://sampwiki.blast.hk/wiki/Strmid
Reply


Messages In This Thread
Can't figure out how to use strmid properly. - by scriptit - 04.01.2013, 22:07
Re: Can't figure out how to use strmid properly. - by Vince - 04.01.2013, 22:13
Re: Can't figure out how to use strmid properly. - by Grim_ - 04.01.2013, 22:32

Forum Jump:


Users browsing this thread: 1 Guest(s)