28.11.2010, 15:25
I've created this command, using ZCMD & SSCANF
in game... nothing happens... what's wrong?
Код:
cmd(atachobject, playerid, parmas[]) { new objid; 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; }