Attach Object
#1

I Have an problem on my command
object not attaching ? to vechile

Ther is cmd
Код:
if(strcmp(cmdtext, "/test", true) == 0)
		{
			new Float:X, Float:Y, Float:Z;
			GetPlayerPos(playerid, X, Y, Z);
			if(GetPlayerMoney(playerid) >= 0)
			{
				new mnrg[MAX_PLAYERS];
				GivePlayerMoney(playerid, -0);
				mnrg[playerid] = CreateVehicle(560, X, Y, Z + 1, 90.0, -1, -1, 100000000);
				PutPlayerInVehicle(playerid, mnrg[playerid], 0);
				AddVehicleComponent(mnrg[playerid], 1079);
				AttachObjectToVehicle(19076, 560, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0);
			}
			return 1;
    }
Can anyone tell me what i miss ? in cmd
Reply


Messages In This Thread
Attach Object - by K4P3L_KUM4R - 19.11.2011, 05:34
Re: Attach Object - by K4P3L_KUM4R - 19.11.2011, 06:06
Re: Attach Object - by KosmasRego - 19.11.2011, 06:07
Re: Attach Object - by K4P3L_KUM4R - 19.11.2011, 06:13
Re: Attach Object - by GangsTa_ - 19.11.2011, 06:16
Re: Attach Object - by K4P3L_KUM4R - 19.11.2011, 06:24
Re: Attach Object - by blewert - 19.11.2011, 06:27
Re: Attach Object - by K4P3L_KUM4R - 19.11.2011, 06:40
Re: Attach Object - by blewert - 19.11.2011, 06:47
Re: Attach Object - by K4P3L_KUM4R - 19.11.2011, 06:50

Forum Jump:


Users browsing this thread: 1 Guest(s)