mysql related question r39
#3

This is pretty important because i have this :
Код:
stock GetPlayerOFactionName(targetname[])
{
	new ttext[64];
	// if player is in a family, format family name
	if(dini_Int(targetname, "FMember") != 255)
	    format(ttext,sizeof(ttext),"%s",FamilyInfo[dini_Int(targetname, "FMember")][FamilyName]);
	// else format faction name
	else
	{
		switch(dini_Int(targetname, "Member"))
		{
			case 1: ttext = "lspd";
			case 2: ttext = "FBI";
			case 3: ttext = "RCSD";
			case 4: ttext = "LSFMD";
			case 5: ttext = "NG";
			case 6: ttext = "Senate";
			case 66413: ttext = "????";
			case 8: ttext = "Hitmen";
			case 9: ttext = "News";
			case 10: ttext = "Taxi";
			default: ttext = "None";
		}
	}
	return ttext;
}
and i want to turn it into mysql !
Reply


Messages In This Thread
mysql related question r39 - by bare380 - 01.07.2015, 13:08
Re: mysql related question r39 - by Vince - 01.07.2015, 13:41
Re: mysql related question r39 - by bare380 - 01.07.2015, 14:07
Re: mysql related question r39 - by Suicidal.Banana - 01.07.2015, 14:22
Re: mysql related question r39 - by Prokill911 - 01.07.2015, 15:46

Forum Jump:


Users browsing this thread: 1 Guest(s)