28.11.2010, 15:29
Quote:
Make sure the object you're attaching is actually created (:
|
Код:
cmd(atachobject, playerid, parmas[]) { new objid = CreateObject(objid,0.0,0.0,0.0,0.0,0.0,0.0); if(sscanf(parmas, "i", objid))return SendClientMessage(playerid, COLOR_WHITE, "/atachobject [ObjectID]"); AttachObjectToVehicle(objid,GetPlayerVehicleID(playerid),0.0,0.0,0.3,0.0,0.0,0.0); return 1; }