30.11.2012, 16:17
pawn Код:
if(strcmp(cmd, "/stavidrva", true) == 0)
{
if(IsPlayerConnected(playerid))
{
new Float:x, Float:y, Float:z;
AttachObjectToVehicle(drvo,kamion,1062.80004883,-338.20001221,74.80000305,0,0,0);
SendClientMessage(playerid, COLOR_WHITE, "{37F906}INFO:{FFFFFF}Drvata se uspesno natovareni vo kamionot");
}
}
pawn Код:
kamion = AddStaticVehicle(578,1062.69995117,-337.79998779,74.69999695,0.00000000,245,245); //DFT-30
drvo = CreateObject(1463,1066.30004883,-341.70001221,73.30000305,0.00000000,0.00000000,0.00000000);