Small doubt
#7

Does no-one notice that you cannot store a value in a function? Round parentheses indicate a function.

Quote:
Originally Posted by DeathOnaStick
Посмотреть сообщение
pawn Код:
new PlayerPassword[128];
PlayerPassword=tmp;
Then his password should be stored in the variable PlayerPassword.
I'm fairly confident that'll give an 'Array sizes do not match' error. Use this to copy strings:

pawn Код:
// strcpy(dest[], const src[]);
#define strcpy(%0,%1) strcat((%0[0]=EOS,%0),%1)
Reply


Messages In This Thread
Small doubt - by Swiftz - 28.04.2011, 16:13
Re: Small doubt - by DeathOnaStick - 28.04.2011, 16:19
Re : Small doubt - by Swiftz - 28.04.2011, 16:21
Re : Small doubt - by Swiftz - 28.04.2011, 16:32
Re: Re : Small doubt - by DeathOnaStick - 28.04.2011, 17:20
Re: Small doubt - by Sascha - 28.04.2011, 17:22
Re: Re : Small doubt - by Vince - 28.04.2011, 18:02
Re: Small doubt - by Swiftz - 29.04.2011, 02:28
Re: Small doubt - by Vince - 29.04.2011, 07:34
Re: Small doubt - by Swiftz - 29.04.2011, 13:33

Forum Jump:


Users browsing this thread: 1 Guest(s)