3D Label attaching to vehicle
#22

Код:
if(strcmp(cmd,"/changecarlabel",true)==0)
	{
		if(IsPlayerAdmin(playerid))
		{
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "[asd] /changecarlabel <plate>");
				return 1;
			}
			new level;
			level = strval(tmp);
	    	for(new h = 56; h < sizeof(CarInfo); h++)
			{
				new string5[256];
				format(string5, sizeof string5, "Name: %s\nPlate: %s", CarInfo[h][cDescription], level);
				Update3DTextLabelText(CarLabels[vehicleid], 0xFFFFFFAA, string5);
				SendClientMessage(playerid,VALGE, "[asd] Plate changed!");
				OnPropUpdate();
			}
		}
	    return 1;
	}
Help :S
Reply


Messages In This Thread
3D Label attaching to vehicle - by Typhome - 28.10.2010, 19:36
Re: 3D Label attaching to vehicle - by WillyP - 28.10.2010, 19:38
Re: 3D Label attaching to vehicle - by Typhome - 28.10.2010, 20:55
Re: 3D Label attaching to vehicle - by i514x - 28.10.2010, 20:59
Re: 3D Label attaching to vehicle - by PilotXtreme - 28.10.2010, 21:00
Re: 3D Label attaching to vehicle - by Typhome - 28.10.2010, 21:04
Re: 3D Label attaching to vehicle - by WillyP - 28.10.2010, 21:06
Re: 3D Label attaching to vehicle - by Typhome - 29.10.2010, 12:43
Re: 3D Label attaching to vehicle - by WillyP - 29.10.2010, 12:44
Re: 3D Label attaching to vehicle - by Typhome - 29.10.2010, 12:45
Re: 3D Label attaching to vehicle - by i514x - 29.10.2010, 14:52
Re: 3D Label attaching to vehicle - by Typhome - 29.10.2010, 15:52
Re: 3D Label attaching to vehicle - by i514x - 29.10.2010, 16:10
Re: 3D Label attaching to vehicle - by Typhome - 29.10.2010, 17:03
Respuesta: 3D Label attaching to vehicle - by admantis - 29.10.2010, 17:06
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 11:21
Re: 3D Label attaching to vehicle - by MadeMan - 30.10.2010, 11:30
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 11:34
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 11:37
Re: 3D Label attaching to vehicle - by WillyP - 30.10.2010, 11:42
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 11:45
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 19:40
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 21:49
Re: 3D Label attaching to vehicle - by WillyP - 30.10.2010, 21:52
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 21:55
Re: 3D Label attaching to vehicle - by MadeMan - 30.10.2010, 22:13
Re: 3D Label attaching to vehicle - by Typhome - 30.10.2010, 23:41
Re: 3D Label attaching to vehicle - by Typhome - 31.10.2010, 11:58
Re: 3D Label attaching to vehicle - by Typhome - 31.10.2010, 20:18
Re: 3D Label attaching to vehicle - by Steven82 - 31.10.2010, 20:27

Forum Jump:


Users browsing this thread: 1 Guest(s)