SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 25/09/2010, 09:56 AM   #1
Seven.
Huge Clucker
 
Seven.'s Avatar
 
Join Date: Sep 2010
Posts: 262
Reputation: 0
Default dini get

pawn Code:
gPlayer[playerid][wmsg] = dini_Get(udb_encode(gPlayer[playerid][gName]), "wmsg");
Code:
(1400) : error 006: must be assigned to an array
Hope anybody will be able to help me.
Seven. is offline  
Old 25/09/2010, 11:24 AM   #2
Conroy
Huge Clucker
 
Join Date: Sep 2009
Location: Scotland
Posts: 448
Reputation: 10
Default Re: dini get

Make sure wmsg in your enum is an array.

wmsg[128]
Conroy is offline  
Old 25/09/2010, 12:23 PM   #3
Seven.
Huge Clucker
 
Seven.'s Avatar
 
Join Date: Sep 2010
Posts: 262
Reputation: 0
Default Re: dini get

error 047: array sizes do not match, or destination array is too small
Seven. is offline  
Old 25/09/2010, 12:59 PM   #4
lightningcrow
Little Clucker
 
Join Date: Sep 2010
Posts: 11
Reputation: 0
Default Re: dini get

i have same problem too!!
if you can fix this problem.. post in here oke..
haha..
lightningcrow is offline  
Old 25/09/2010, 01:01 PM   #5
legodude
Gangsta
 
legodude's Avatar
 
Join Date: Sep 2009
Location: 127.0.0.1 duhh
Posts: 875
Reputation: 613
Default Re: dini get

wmsg[256]
or try
#undef MAX_STRING
#define MAX_STRING 128
__________________
legodude is offline  
Old 25/09/2010, 02:10 PM   #6
Conroy
Huge Clucker
 
Join Date: Sep 2009
Location: Scotland
Posts: 448
Reputation: 10
Default Re: dini get

Quote:
Originally Posted by Seven. View Post
error 047: array sizes do not match, or destination array is too small
Simply increase the array size. Try 256.
Conroy is offline  
Old 25/09/2010, 02:18 PM   #7
Jefff
High-roller
 
Join Date: Dec 2007
Posts: 1,734
Reputation: 136
Default Re: dini get

pawn Code:
strcat(gPlayer[playerid][wmsg],dini_Get(udb_encode(gPlayer[playerid][gName]), "wmsg"));
Jefff is offline  
Old 25/09/2010, 06:45 PM   #8
Seven.
Huge Clucker
 
Seven.'s Avatar
 
Join Date: Sep 2010
Posts: 262
Reputation: 0
Default Re: dini get

No errors with the code from Jefff, But it's not showing the message. :S
Seven. is offline  
Old 27/09/2010, 02:29 PM   #9
Seven.
Huge Clucker
 
Seven.'s Avatar
 
Join Date: Sep 2010
Posts: 262
Reputation: 0
Default Re: dini get

Nvm fixed.
Seven. is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dini iLcke Help Archive 4 21/07/2010 04:00 PM
Can someone help me with Dini caribe88 Help Archive 2 20/02/2010 08:09 PM
[HELP]Dini Dirty_bum Help Archive 4 21/10/2009 06:36 AM
dini in sa:mp 0.3 roi857 Help Archive 3 19/10/2009 06:39 PM


All times are GMT. The time now is 11:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.