House Info Files Loading Not Working
#5

Not sure if it helps, but this is how I would do it:

pawn Код:
if(strfind(data,"Cost: ",true)!=-1){strmid(sdata,data,6,strlen(data)-1,128);HousePic[houseid][Cost]=strval(sdata);}
You can count strlen yourself. For "Cost: " it's 6. So you don't need to format. And I put the "{" bracket after the if statement.
Reply


Messages In This Thread
House Info Files Loading Not Working - by Badger(new) - 19.09.2009, 20:05
Re: House Info Files Loading Not Working - by Joe Staff - 19.09.2009, 20:16
Re: House Info Files Loading Not Working - by MadeMan - 19.09.2009, 20:18
Re: House Info Files Loading Not Working - by Badger(new) - 19.09.2009, 20:23
Re: House Info Files Loading Not Working - by MadeMan - 19.09.2009, 20:34
Re: House Info Files Loading Not Working - by Annihalation - 19.09.2009, 20:45
Re: House Info Files Loading Not Working - by Joe Staff - 19.09.2009, 20:55
Re: House Info Files Loading Not Working - by Badger(new) - 19.09.2009, 21:44
Re: House Info Files Loading Not Working - by Annihalation - 19.09.2009, 21:59
Re: House Info Files Loading Not Working - by Badger(new) - 19.09.2009, 22:02

Forum Jump:


Users browsing this thread: 1 Guest(s)