Using char on variables.
#1

Hello.

Would I ask you, how can I use "char" on variables.
For an example, I did:

new Detail[ 5 char ] = {200, 1, 0, 0, 1}
and I use it like that:
GivePlayerMoney(playerid, Detail{0});

I get an error on the line: new Detail...
The error is:
initialization data exceeds declared size
Reply


Messages In This Thread
Using 'char' array on variables. - by Activest - 03.03.2013, 19:32
Re: Using char on variables. - by Misiur - 03.03.2013, 20:02
Re: Using char on variables. - by Vince - 03.03.2013, 20:02
Re: Using char on variables. - by ReVo_ - 03.03.2013, 20:03
Re: Using char on variables. - by AndreT - 03.03.2013, 20:05
Re: Using char on variables. - by Activest - 03.03.2013, 20:27
Re: Using char on variables. - by LarzI - 03.03.2013, 20:36
Re: Using char on variables. - by Vince - 03.03.2013, 20:36
Re: Using char on variables. - by LarzI - 03.03.2013, 20:44
Re: Using char on variables. - by Activest - 03.03.2013, 20:57

Forum Jump:


Users browsing this thread: 2 Guest(s)