SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/04/2012, 07:02 PM   #1
SpankMe2
Big Clucker
 
Join Date: Jun 2011
Posts: 168
Reputation: 2
Default Y_INI Loading string problem

Hey,
so i'm loading my strings under my header as shown below and I get some errors I cant solve I'd greatly accept your help.

pawn Code:
INI_String("House Name", HouseInfo[i][hName], 200);
And I get these errors..

Code:
(331) : error 001: expected token: ")", but found "["
(331) : warning 215: expression has no effect
(331) : error 001: expected token: ";", but found "]"
(331) : error 029: invalid expression, assumed zero
(331) : fatal error 107: too many error messages on one line
SpankMe2 is offline   Reply With Quote
Old 05/04/2012, 07:08 PM   #2
rati555
Huge Clucker
 
rati555's Avatar
 
Join Date: May 2010
Location: Georgia/Tbilisi
Posts: 201
Reputation: 18
Default Re: Y_INI Loading string problem

pawn Code:
hName[200],
you have to make like this, in HouseInfo "enum"
rati555 is offline   Reply With Quote
Old 05/04/2012, 07:12 PM   #3
SpankMe2
Big Clucker
 
Join Date: Jun 2011
Posts: 168
Reputation: 2
Default Re: Y_INI Loading string problem

I have already, I this is my problem with hName[200] in side the enum...
SpankMe2 is offline   Reply With Quote
Reply

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
Loading String Problem park4bmx Scripting Help 9 12/11/2011 01:19 PM
[HELP] Y_ini string loading. BlackSA Scripting Help 2 08/11/2011 09:25 PM
Problem with string loading from sql / chat prefix 666 Help Archive 7 20/08/2011 10:11 AM
[SOLVED]Strange y_ini skin loading problem OldDirtyBastard Help Archive 0 16/02/2011 08:09 PM
Loading string from a file and inserting it into other string Ivan_Pantovic Help Archive 0 06/02/2011 08:22 PM


All times are GMT. The time now is 07:38 AM.


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