Copy string
#3

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
Because it assign whatever the first index value in the string array is which is a char. And by default PAWN doesn't have a string datatype. Try using memcpy instead.

https://sampwiki.blast.hk/wiki/Memcpy
But why does it work outside of the enum?

Quote:
Originally Posted by ******
Посмотреть сообщение
The problem here is that you are using data embedded in an enum, which is NOT the same thing.
Can you explain that one a bit more? I got an enum inside an enum, so to say.
Reply


Messages In This Thread
Copy string - by mamorunl - 02.02.2013, 17:11
Re: Copy string - by T0pAz - 02.02.2013, 17:16
Re: Copy string - by mamorunl - 02.02.2013, 17:44
Re: Copy string - by T0pAz - 02.02.2013, 17:48
Re: Copy string - by mamorunl - 02.02.2013, 17:49
Re: Copy string - by mamorunl - 02.02.2013, 17:57
Re: Copy string - by mamorunl - 02.02.2013, 19:30

Forum Jump:


Users browsing this thread: 4 Guest(s)