Problem with string
#4

Quote:
Originally Posted by Sascha
Посмотреть сообщение
so how to fix it?...
Код:
new string[256], id, slots, name[20];
format(name, sizeof(name), "%s", dini_Int(dat, "Name"));
id = dini_Int(dat, "ID");
slots = dini_Int(dat, "Slots");
format(string, sizeof(string), "Owner: %s || Vehicle Slots: %d || House ID: %d", name, slots, id);
SendClientMessage(playerid, ORANGE, string);
that works neither... however I guess what I just did was kinda stupid...

Yes you need to use strmid + for strings use "dini_get " not "dini_int"..
Reply


Messages In This Thread
[SOLVED] Problem with string - by Sascha - 11.08.2010, 13:34
Re: Problem with string - by Vince - 11.08.2010, 13:37
Re: Problem with string - by Sascha - 11.08.2010, 13:46
Re: Problem with string - by ivex - 11.08.2010, 13:49

Forum Jump:


Users browsing this thread: 3 Guest(s)